HNHacker News
TopNewBestAskShowJobs

guntars

1,167 karma · joined September 12, 2014

submissionscomments
guntars··on Life Improvements Since the 1990s
This is what's happening with open source hardware. For example, VESC and ODrive both quickly had knockoffs in all the usual places. The maintainers were somewhat understandably irked by this, but if you ask me it's exactly what should be happening. Maybe the issue was the knockoffs not complying with the license or not giving credit, but if that's all good and proper, and we should check as the end buyer, it's a net benefit to the consumer.
guntars··on NYC to mandate proof of vaccination for many indoor settings
That's a fun one:

> The Court decided that Filburn's wheat-growing activities reduced the amount of wheat he would buy for animal feed on the open market, which is traded nationally, is thus interstate, and is therefore within the scope of the Commerce Clause. Although Filburn's relatively small amount of production of more wheat than he was allotted would not affect interstate commerce itself, the cumulative actions of thousands of other farmers like Filburn would become substantial. Therefore the Court decided that the federal government could regulate Filburn's production.

guntars··on NYC to mandate proof of vaccination for many indoor settings
> certain communities of people

What communities are being targeted? Everyone who leaves their house is affected.

> strongly discouraging open debate

We're debating it here just fine.

> dissenters [..] physically remove themselves

Voluntarily unvaccinated walking COVID vectors? Yes, that's exactly the point.

guntars··on Show HN: A work-in-progress C compiler from scratch
To replace C-style strings you only need the length! You also get cheap substrings which is such a common operation that it alone IMO makes it worth taking this route.
guntars··on A GPIO Driver in Rust
I don't think so. Once a function is compiled, it basically becomes a black box with a type signature so unless sleeping in a function affects its signature, that information is erased. If you pass in some kind of a sleep token that has to be used to sleep, then yeah I think you could enforce it by only being able to get that token in a non-atomic context and making it leak proof.

The Cortex-M crate does something similar, but for proving that you are in an atomic context. Another function that expects a CriticalSection type is then assured that it's running without interrupts enabled. The type itself is zero sized so it's completely optimized away.

https://github.com/rust-embedded/cortex-m/blob/master/src/in...

guntars··on I had to give a wrong answer to get the job (2017)
We don't even need to look at other industries. It's demonstrably not the case for professional software developers at the moment. The companies are simply doing whatever is in their best interest which is retaining expensive and hard to hire for talent, ergo they'll treat you nicer. The second it's no longer expensive or hard to hire, things will take a turn for the worse (for the candidates).
guntars··on Why Richard Branson’s flight matters
I think we can wait to argue about who gets the space resources until we can reliably get to space. Currently the resource being exploited by the "charlatans" is pretty views from upper atmosphere. As long as they don't leave trash in orbit, which this is very far from, they can do it all day long for all I care.

Also this whole focus on the billionaires is misguided. Up until very recently only large nation states could afford to have a space program that is any more ambitious than delivering a satellite to orbit. Now it's eccentric billionaires. Tomorrow it'll be small cap companies. Elon Musk is not getting Mars, don't worry.

guntars··on Why Richard Branson’s flight matters
At this point any kind of business that does repeatable and sustainable space flights is good, is even if it's for the entertainment of the billionaires. Slowly and surely the process will get improved and the cost will go down and maybe some of those taxpayers will see space after all.
guntars··on How JavaScript Works: deep dive into call, apply, and bind
Yep, I just looked it up and it does indeed say that, at least for the 2016 version when all of these features were introduced. Fine! Carry on applying your maps to your non-Arrays!

Personally I think Array.of($nodeList).map(…) should be guaranteed to allocate once and then there’d be no more discussion here.

https://262.ecma-international.org/7.0/#sec-array.prototype....

guntars··on How JavaScript Works: deep dive into call, apply, and bind
You should forget about that too. It's applying a function from one object to something else that it wasn't designed for. It happens to work in this case because $nodeList and Arrays are both array-like, but that's a lucky happenstance.
guntars··on Suppose I wanted to kill a lot of pilots
Interpreters are considered elegant, too. For example, Lua is a great little language and it runs everywhere precisely because it's interpreted.
guntars··on Mouse lungs after long-term exposure to atmosphere predicted by climate change
Just for the babies. The babies stay in a little bubble with the correct atmosphere and it's a big party when they come out the first time!
guntars··on Secret Recordings Reveal How Exxon Lobbyists Manipulate Politicians and Public
Donate to the Wolf PAC or a similar organization. Politicians can be lobbied to do anything, even pass reasonable laws that most people are in favor of.
guntars··on The incel lexicon: Deciphering the emergent cryptolect of a global community
Don't worry, we'll come back to issues that exclusively men face after all of the other groups issues are resolved.
guntars··on Postgres to TypeScript Interfaces and Enums
How about keeping the query as a separate, importable .sql file that can be analyzed by a tool and it could spit out the typings to a .sql.d.ts file? The editor support for mixing languages in a single file was not great, last time I checked.
guntars··on As religious faith has declined, ideological intensity has risen
> Interestingly, this also describes all of math, logic, and philosophy.

Which is totally fine, as long as people accept that God exists the same way math exists.

guntars··on The Human Body in Space: Distinguishing Fact from Fiction (2013)
I think the distinguishing difference between conduction in a fluid and convection is that the fluid "leaves" and takes away the heat.
guntars··on LA pays $2600 per homeless tent, per month
Agreed. It's unsubstantiated, cynical and I think meant to provoke a reaction and say something about the poster (it does). Downvote and move on.
guntars··on Vue 3 drops IE11 support plan
Look, something I’m finally qualified to answer! At my previous job our customers were a representative sample of the Fortune 500 and about 40% of our users (their employees) were on IE11 just a few months ago. There were some very well known companies that used IE11 exclusively. It’s very quickly changing and this might be the year when it finally goes away, but it’s still alive and well in the corporate world.
guntars··on Google Docs will now use canvas based rendering
You can do it, but it’s not done commonly. The most common way ads get onto the page is by including a third party script which is easily blocked.
guntars··on Perverse Downstream Consequences of Debunking
Exactly, tell them to fuck off with a smile.
guntars··on Links are not buttons (2013)
You can't have interactive elements inside anchor tags. Very often the box will have some additional buttons for different actions, like "Save for later". I like the approach of using an anchor tag just for the title and have another click handler on the box to serve as a fallback, but you don't get to ctrl-click on the box anymore. Alternatively you can have the link be a sibling of the buttons in the DOM, but visually cover the whole box and appear behind the buttons. As you can imagine, any solution like this is going to add more work and be a potential source for bugs.

This is one of the two things that I really wish browsers would fix, instead of cramming in completely new features. The second is how hard is it to make popovers work correctly, especially inside scrollable containers.

guntars··on I want a computer that I own
That’s hilarious. What is it processing?
guntars··on “User engagement” is code for “addiction”
Why would you have notifications turned on for Twitter? Just turn them off. The trick is to intentionally go on social media and waste time, instead of being pulled in by a notification.
guntars··on 100Mbps uploads and downloads should be US broadband standard, senators say
Latency is the real killer. I used HughesNet satellite internet while travelling for a while and it has a 650ms round trip. Even sites built by talented and well compensated engineers would sometimes be completely unusable. For example, YoutubeTV used to download the video data in tiny little sub 1MB chunks, each from a seemingly separate CDN endpoint. The result was that each chunk needed a DNS roundtrip and then another one or two for SSL handshaking so it would take at a minimum 1.5 - 2 seconds to even start downloading the data. Needless to say, it was not usable.

Moral of the story - latency and roundtrips are the devil and some users have it extra bad, but if you make it work for them, it's going to be amazing for everyone else too.

guntars··on Abundant Capital
> 'normal' investors will be swayed by charismatic founders into losing their homes.

You mean their second or third homes, right? There's a minimum net-worth requirement before you're able to invest in a startup so a failed investment is not going to bankrupt any investors. The founders are much more likely to end up in the poorhouse if things don't work out than investors are.

guntars··on Sort by controversial a.k.a. Shiri’s scissor (2018)
It says "fiction" right at the top, but one given in the story was:

> A Republican Supreme Court nominee accused of committing sexual assault as a teenager.

guntars··on OpenStreetMap proven to be a highly accurate map in top US cities
Lyft has access to some pretty good data on where the roads actually are and if there are any closures. Looks like they are already contributing back, which is awesome. Something I've never heard being done, but could be very helpful for cities, is tracking the bumpiness of roads as a metric for road quality. The city could have near real time access to information on where the potholes are. I'd think they'd be willing to pay for it.
guntars··on Agent fired from literary agency for using Parler and Gab
From that story, it doesn’t seem like calling 911 was the problem. It was tweeting about it.
guntars··on Victory at the High Court against the government’s use of 'general warrants’
Do they actually ever use it? I know it theoretically means that CBP can search anyone’s home in NYC without a warrant, but if they never actually do it, they might get shot down in the courts if they ever try.
← PreviousPage 6 of 13Next →