HNHacker News
TopNewBestAskShowJobs

rewq4321

774 karma · joined May 24, 2019

submissionscomments
rewq4321··on V8 has optimized new JavaScript language features (2018)
JavaScript is very dynamic. Here I define a variable with `let` and then change it:

let foo = 10; eval("fo"+"o = 10");

I could "obfuscate" that eval assignment as much as I like. So you can't completely statically analyse `let` variables.

That said, it's likely you'd end up with perf very close to `const` in a very "hot" part of your code, since a good JIT compiler like V8 will eventually make "assumptions" about your code, and optimise around them, while having (ideally cheap) checks in place to ensure the assumptions continue to hold.

rewq4321··on Joe Biden is the president-elect of the U.S.
The Decision Desk call would have taken into account plausible degrees of variation due to recounts. It probably could have been called several hours ago. It seems that at this point we're past 'very likely'.
rewq4321··on Nomad Sculpt releases an experimental build for web browsers
This is from the maker[0] of SculptGL (which is open source[1], but no longer maintained), which hit the front page of HN a few weeks ago.[2]

He makes a popular Android and iOS app called Nomad, which is for sculpting. This is an experimental build of that app.

[0] https://stephaneginier.com/

[1] https://github.com/stephomi/sculptgl

[2] https://news.ycombinator.com/item?id=24775500

rewq4321··on Learnings from Running a Longevity Startup
This comment adds very little to the discussion.
rewq4321··on Mozilla Hubs – Private social VR in your web browser
As crazy as it sounds, they should probably switch to a Chromium "back-end" so they can innovate on top of it - like Brave and the new Edge. Firefox has no chance at competing with these multi-billion-dollar juggernauts on the browser engine itself.

They should build a brand as the privacy-focused flavor of Chromium.

Chromium is the new Linux.

rewq4321··on CheerpX for Flash
Technical details in this WebAssembly SF video: https://youtu.be/7JUs4c99-mo?t=24
rewq4321··on Blokdots – Build interactive hardware prototypes visually
Hey Oliver, looks interesting! Any reason it's not available as a web app? It looks like it's HTML/JS anyway? At least going off your alpha code on github.

That would be helpful for students who often aren't able to install software on school computers, people who have chromebooks, or people like me who don't like running native apps unless they're sandboxed somehow.

In any case, I hope you're successful here - very exciting project!

rewq4321··on EU shoots for €10B ‘industrial cloud’ to rival US
From the guidelines[0]:

> When disagreeing, please reply to the argument instead of calling names. "That is idiotic; 1 + 1 is 2, not 3" can be shortened to "1 + 1 is 2, not 3."

If users don't like those rules, they can go to other platforms. I think part of the reason why people come to HN is specifically because of rules like this.

I don't think that you can argue that you're being politically oppressed on HN because of rules like this. You're free to articulate your opinions (political or otherwise), and in fact these rules are designed to help you do that - even if your opinion is an unpopular one.

[0] https://news.ycombinator.com/newsguidelines.html

rewq4321··on EU shoots for €10B ‘industrial cloud’ to rival US
There's a sense in which I agree with you, but it's for a different reason.

I want a future where the "foundational" internet services (like chat, broadcast social, payments, etc) are decentralised/federated. And it seems like that's the end result of increased internet-service protectionism.

This won't be possible with all internet services, but it seems plausible for several of the large, stabilised ones. Though I'm not sure whether we're quite ready for it yet.

rewq4321··on EU shoots for €10B ‘industrial cloud’ to rival US
This is not how discussions work on HN. 4chan might be a better place for you to hang out.
rewq4321··on Chaos Ink
I've never had problems with three.js, which is what most people use for WebGL-powered content.

Are you claiming that there's less effort in coding up a native graphics program that works across all platforms?

Certainly native has the edge on performance (WebGPU will shorten the gap a bit), but on ease of multi-device compatability? I could be convinced, but it seems hard to believe. The whole idea of the browser (these days) is to make cross-platform stuff easier to develop.

rewq4321··on Google Coral Dev Board mini SBC is now available for $100
On the other hand, it would be useful for people experimenting with low-compute online learning. Also, those types of projects tend to have novel architectures that benefit from the generality of a GPU.
rewq4321··on Show HN: A in browser tile editor with isometric features
Pretty cool! You should link to the demo of the editor (https://victorribeiro.com/tileEditor/) on your Itch page. You should also start with a default grid to make it easy for people to quickly start playing around without having to go through the menus, set the grid sizes, etc.

Edit: I love this! https://victorribeiro.com/isocity It's also a good example of something that's really easy to try out.

rewq4321··on A 3D sculpting web application
Really neat experiment! I hope you keep working on this.
rewq4321··on A Demo Shell Powered by WebAssembly, WASI and the File System Access API
(Not my project, just posting because I think it's pretty neat.)

You need Chrome or Edge to use it, since other browser's haven't yet shipped the required features.

In case anyone missed it, here's the demo link from the repo: https://wasi.rreverser.com/

For those on mobile, or with an incompatible browser, here are some screenshots:

After typing `mount /files`: https://i.imgur.com/Jv6aTFY.png

After trying to echo into a file: https://i.imgur.com/FXTTRar.png

You can do all the basics like mkdir/cat/ls/echo/...

rewq4321··on The First 1940s Coders Were Women (2017)
I think a rough TLDR is: Stereotypes.

> Still, even with the introduction of men, programming was often conflated with low-level clerical work commonly performed by women like typing or filing, writes Nathan Ensmenger, a professor of informatics and computing at Indiana University.

[...]

> Jane Margolis, a senior researcher at the University of California-Los Angeles and author of Unlocking the Clubhouse, cites the introduction of the home computer as a “boys toy” in the 1980s as a factor that pushed more men than women into computer science. Radio Shack ran ads showing that personal computers were great for nerdy (white) boys and sporty boys because they could use it to do homework and play video games. Another 1985 Apple ad showed how much a computer could help a boy named Brian Scott, while also demonstrating what fun he could have teasing a girl who was trying to use a computer.

I do think that we under-appreciate the effect that stereotypes have on forming peoples' career choices. Teens are particularly susceptible to these things, and that's unfortunate because that's the age where they are expected to start choosing their career path.

rewq4321··on We Hacked Apple for 3 Months
Especially considering that the authors are some of the best bug bounty hunters in the world. $500 an hour is a fairly normal rate for a top security consultant, as far as I'm aware.
rewq4321··on ProtonMail CEO calls Apple's forced in-app purchases 'Mafia extortion'
The user agent gets to choose how the permission requests are shown - that's not part of the spec. For example, they can choose to ignore permission requests until the user has interacted with the site for a significant amount of time. They can make the permission prompt more explicit and "scary". They can choose to only allow notifications after the site has been added to the home screen.

This is not a question of safety at all - Apple has control over how many people get tricked via their control over the permission prompt.

rewq4321··on Boys lag behind: How teachers’ gender biases affect student achievement
> So women need a wheelchair but not men?

That's a strange thing to pull out of my mouth, given what I said. If you're trying to say that gender shouldn't be a factor in determining a person's needs, then you're obviously wrong. Cis men don't need access to feminine hygiene products, for example.

You'd obviously want to take into account as many factors as possible when trying to work out a person's needs relative to someone else's. Socioeconomic background is a good start, but obviously doesn't capture all of the relevant variables. A trans person can come from a middle-class background, but be at a higher risk of bullying than the other middle-class children at a high school, for example.

rewq4321··on Boys lag behind: How teachers’ gender biases affect student achievement
> According to most of the IQ literature, a person's IQ does not significantly change over time

If you're saying that a person's environment (e.g. education) doesn't causally affect abstract reasoning skills (as measured by IQ), then that is not correct according to the currently available evidence.

"We looked at 42 datasets using several different research designs and found that, overall, adding an extra year of schooling in this way improved people's IQ scores by between 1 and 5 points."

https://www.sciencedaily.com/releases/2018/06/180621112004.h...

My previous comment was simply in regard to holes in the analysis of IQ heritability data.

rewq4321··on Ask HN: What should a software engineering Hippocratic Oath equivalent be?
> Can I create a feature that breaches user's privacy? What if I don't build the feature but just write documentation for it?

More pertinently, most of the time: What if I think that feature would be a net-positive for everyone? There obviously cases where a product literally couldn't exist without collecting user data, and so long as they're up-front about it, I'm fine with that. It's sneaky data collection that's the problem.

rewq4321··on Boys lag behind: How teachers’ gender biases affect student achievement
> There is always talk of increasing the number of women in STEM fields, but never any talk of increasing the number of men in the arts

On this particular point, I think it's because STEM-like fields are quite economically useful compared to the arts. On average, it would probably "hurt" men (in financial/power terms) to encourage more of them to go into the arts.

rewq4321··on Boys lag behind: How teachers’ gender biases affect student achievement
I think the idea is simply to give resources to those based on what they need rather than to give to everyone equally. It costs more to educate a kid from a poor/disadvantaged background.

It doesn't really make sense to "treat everyone the same", since different people have different needs. Not everyone needs a wheelchair, but some people do, for example.

rewq4321··on Boys lag behind: How teachers’ gender biases affect student achievement
Affects similar to the "relative age effect"[0] are really important. Kids that just so happen to get ahead early (whether by a slight age advantage, or any other) often end up being put into some sort of "gifted" track where they have access to better teachers/resources, which compounds until they are well ahead of the others. Even without any sort of gifted program, the self-confidence that gets built around being "the smart kid" is a powerful motivator. The fight for self-confidence in school classrooms is zero-sum.

What surprises me is that, from what I've read, the IQ literature doesn't seem to take this basic compounding affect into account. So it seems like some skepticism should be held for the idea that IQ is ~50% genetics and ~50% environment. It could be 5% genetics that compounds into 50%. That would seem to be in line with the observation that the measured heritability of intelligence increases with age.

[0] https://en.wikipedia.org/wiki/Relative_age_effect

rewq4321··on Boys lag behind: How teachers’ gender biases affect student achievement
I have no idea either way, but this amount of data probably shouldn't sway predictions too much.
rewq4321··on WebXR Depth API – Explainer
You can get a sense for what this API will allow (once it hits browsers) by looking at this ARCore Depth API demo video: https://www.youtube.com/watch?v=cLQJ864LNWI
rewq4321··on Be skeptical of Ring's indoor security drone
> If you want home security that can reach all parts of your home, and provide alerts when someone breaks in, get a dog.

Agree with everything you said except this. This is terrible advice for most people. Don't get a dog unless you really want a dog. And if you do get one, adopt, because there are people who do think like this^ about animals, and a significant number of those animals will end up at a shelter at some point.

rewq4321··on Newfound brain structure explains why some birds are so smart
Somebody posted this video to a previous thread about the intelligence of grows:

https://youtu.be/1WupH8oyrAo

It rides a "sled" down a snowy roof, then carries the sled back up to the top, stands on it, and pecks it get it started.

rewq4321··on Stop Asking Me to “Sign Up” (2014)
Even better: If possible, don't ask for a signup until the user has actually tried your product. Just create a guest account which is deleted if unclaimed for a week or so, and disable "sensitive" features that could be abused.

I have a couple of sites where I allow them to use the product just like a signed-in user, but to save their work, they need to sign in. So people can play around and try things about before entrusting me with their email.

rewq4321··on Crows possess higher intelligence long thought a primarily human attribute
Amazing. It carries its "sled" back up to the top, stands on it, and pecks it get it started.

Whenever I see stuff like this, I can only think about this[0] (normal operation in US and AU at least), and how absurd it is that we treat animals like this, knowing how intelligent they are.

[0] https://i.imgur.com/ucJNZoX.png

← PreviousPage 5 of 8Next →