skysight-inc/HackerNews huggingface dataset:
Saying you can do better than SQL is an extraordinarily bold claim, considering SQL is one of the most successful programming languages in human history and certainly the most successful fourth-generation programming language. Wide swaths of people you might ordinarily think of as non-programmers know how to use SQL in meaningful ways.

Doing better is certainly possible, but SQL is much better than a lot of people give it credit for.
It seems like go's killer feature, initially, was it's approach to concurrency with goroutines and CSP.

However, race conditions are still quite possible with goroutines, and many experienced go developers seem to eschew goroutines. It seems like for certain niches go works wonderfully, but I'm not convinced it will become THE next enterprise programming language.

In fact, we may not have another language dominate the enterprise landscape the way java did in the 2000s. It likely will end up being a mix of go, rust, python, java, .net, and node, among others.
If I want to buy radium water, who are you or the government to tell me I can't?
If you have someone's bank account number, you can pretty much take money out of it. By default there is no real authorization process by which the account holder is asked to allow the withdrawal. There is just the assumption that people aren't going to commit fraud, or people who commit fraud will be caught.

I'm not an expert on this, but I believe there are ways to set up business accounts where money can't be taken out in that way, at least not by the standard electronic means. You can also manage accounts in such a way as that there's no money to take out, although that does not necessarily prevent the account from going into the negative. Checking accounts can go into significant negative balances if the bank chooses to allow it.
I like the fact that this is built on Postgres. Will be curious to give it a try on the side.
Totally agree. It’s a bedrock technology that’s near-universal as far as company needs, at least in startup and web development environments.

The JS framework churn makes me super appreciative of the stability that SQL brings.
I always wished SQL had a better handle on sum types. If I have a user whose favorite story is an instance of Either[Movie, Book], then it's already a pain to deal with in a nice simple way. And that's as simple as sum types get.
K8s Federation v2
If the generated SQL was compatible across a variety of databases and the performance of the SQL was also passable you'd be on to a good thing.
Aside from the size issue, GIF only support 256 colors per frame, so photos and real-life videos almost always have visible dithering artifacts.

It's a terribly shitty format, but remains popular because it has universal support and so works with no fuss. We need to get the same amount of support for a better format.
Swatting Attacks Increase Security Concerns Across Silicon Valley
> don't use NULL

I'm not sure this part is realistic to do in a non-trivial setup. At the very least it's not a common thing to do.
Great high-DPI (which Linux is still not great at); great trackpad support (ditto).
Hah! Same. As an org we've started updating docker in the same manner we do OS upgrades. Too much risk of breaking everything, which happened to us multiple times
Who wrote the software?

Even though there are two sensors, the signal from the faulty sensor was used. (Why no comparison checks or consensus checks?)

Also, there was no limit on how far the MCAS could move the stabilizer. MCAS was limited to 2.5 degrees of change 'per cycle' but each time a pilot tried to pull up the nose, MCAS reset enabling another 2.5 degree of movement. Ultimately the stabilizer was pinned in the max-down position.

Boeing and perhaps the FAA let the software into the field but it was bad/lazy software engineers that killed people.

Like all 737s, the MAX actually has two of the sensors, one on each side of the fuselage near the cockpit. But the MCAS was designed to take a reading from only one of them.

Lemme said Boeing could have designed the system to compare the readings from the two vanes, which would have indicated if one of them was way off.

Alternatively, the system could have been designed to check that the angle-of-attack reading was accurate while the plane was taxiing on the ground before takeoff, when the angle of attack should read zero.

“They could have designed a two-channel system. Or they could have tested the value of angle of attack on the ground,” said Lemme. “I don’t know why they didn’t.”

The black box data provided in the preliminary investigation report shows that readings from the two sensors differed by some 20 degrees not only throughout the flight but also while the airplane taxied on the ground before takeoff.

https://www.seattletimes.com/business/boeing-aerospace/faile...
SQL is an incredible language. I don't think we can do better, only different. It's not that common to mix two programming languages like you mix SQL and application code. For example having your app code in JavaScript then write SQL queries to access the data feels unfashionable. Polling also seem like something from the 80's. RethinkDb was a step in the right direction, but I think the mistake was to invent another query language, instead of making the database querying seamlessly integrated to programming languages. It should be possible to write observables without having to context switch back and forth between data querying and app logic.

I'm a "full stack" developer/speaker, and for a long time I useed English on the front-end, German on the back-end, and Spanish for talking to the databaste. When I switched to English on the back-end I saw an productivity boost and I got better at and started to like English more. But I still talk Spanish with the database. I could probably be more efficient using English to talk to everything. I would probably still use French for design though.
There have been tens of attempts over the years - a Dutch one called Xplain was quite good IIRC. But they all suffer from delivering too little extra (if fully adopted) against the incumbent.

Unfortunately, SQL is good enough for the majority of users and uses.
Yup this is Republicans once again acting on behalf of a company instead of their constituents. It's not just federal either California had their Ready Return product a while back. We're the only country that does taxes this way. There's no reason to do it either. The IRS already knows how much you owe. Having the ability the revised statements is important and there should be an allocation table of where your tax money went provided with details available publicly.
Moxie Marlinspike, of Open Whisper Systems, had some pretty pessimistic things to say about how stagnant federated protocols become, and why they avoided that approach with Signal. https://signal.org/blog/the-ecosystem-is-moving/

End result: Signal is a real, usable tool, the recommendation of which is fully actionable security and privacy advice you can share with anyone who is capable of using WhatsApp.

Here's some HN discussion on the post, and a piece with counter arguments. The latter, I feel, misses the entire point of how urgent the need for usable privacy and security tools is.

https://news.ycombinator.com/item?id=11668912
https://gultsch.de/objection.html
There is a discoverability problem for sure. There are good games out there, but I can't tell you what they are because what I enjoy and what you enjoy are different.

With that, making a game that's good to you appeals to a smaller percentage of the population than making a game full of addictive dark pattern microtransactions, so many of the companies with the money (and consequently advertising) choose to do that.
You can buy second hand copies from ebay, although most of them are for Mac and/or have ridiculous prices considering their age.

In terms of running them, i have Photoshop LE (a trimmed down of photoshop) from 1995 running on Windows 10, it works although it was a bit tricky to install it because the installer is 16bit (i used https://github.com/otya128/winevdm which adds emulated 16bit executable support to 64bit windows, but even then the installer failed to register something. However the files were copied fine and i just grabbed them and copied them to another folder as the original was getting deleted by the installer after the failure).

I guess later versions will be easier to make work (and frankly, chances are these very old versions are most likely already far surpassed by Krita, which has a similar UI).
Many Chromebooks have a reasonable amount of storage in them: it’s possible to use them without relying on the “cloud”.
Rust will eventually replace C++: it's useful in areas where performance matters and things cannot be dumbed down without much consequence.

For a CRUD app server, its an overkill, though.
People want to play the game, why is it you (or the government's) job to tell them not to? It's their money, if playing a gacha game is fun for them, I really don't see the problem.

With gambling people may be driven to gamble to get out of debt. With gacha games, you can't.
NYC's city tax plus the state come out to 11%-ish at the margin for someone bringing in 500k a year. CA's state taxes are in the same ballpark. Plus, NY's property taxes tend to be a bit lower. I'll be paying about $10k/y (unabated) on a $2.4M condo, whereas my house in CA was costing $24k/y on an asset price of $1.7M.

So, I don't think that the reasons to move from NY to CA have much to do with taxes. Having lived in both NYC and Norcal (on the peninsula), I can say that the cost of living in both places is in the same order of magnitude. For me, the main differences are that CA has much better weather and access to the great outdoors, but NYC has a more interesting culture and better food and commuting. I think CA is probably a better place to start your career as a software engineer, but once you're established, there are plenty of opportunities in both places.
Personally I refuse to install corporate surveillance all over my house, but I also don't care enough to mess with custom Linux distros and arduinos and network configuration just to create a (probably really ugly) thermostat that I could control from my phone.

But I would buy something like Nest off the shelf if it were privacy-friendly, and open enough that I could write some custom scripts to do neat things with it. Maybe I represent a niche market.
Waiting for end 2020 Macbooks which can decode (and encode?) AV1 on CPU hardware hopefully (and hopefully also solved the keyboard mac problems).
Unencumbered Open Source Commodore 64 ROMs
SLAM?

https://en.m.wikipedia.org/wiki/Simultaneous_localization_an...
Indeed. I think the government needs to revise the deal. These corporate tools are well-designed to make the tax system fairly understandable and straightforward, I found using TurboTax to be pretty pleasant, and I highly doubt an IRS-built system would feel as polished.

I see nothing wrong with the inherent basis of the free file program, they just need to literally forbid the companies from charging for comparable tax services to free file eligible users. Tax companies would still have a strong incentive to run it, as users using their under $66,000 are likely to continue doing so once they rise above that mark.
You are fully correct, and it is only a complaint in regard to the submission originally titling UBE as an "Alpine alternative".
Portfolios of top Make School students looking for jobs/internships
Yes. Different kernels and various incompatibility between docker deamons on different OS'es has taken away the build once run anywhere aspect that's the whole point of docker.
I agree, the real problem is after (and in my opinion ethically also before) EOL, we can't sign new distro's and bootloaders...

All we need that is currently missing is for end-users to be able (by law) to sign their own boatloaders, by entering their own public key into the most minimal inspectable ring infimum bootloader...

Otherwise it's just a long and slow road towards either fab at home, or alternatively blind computation on the host, and encrypted communication with a minimal IO system attached to the host...
I struggle with this issue. I'm a big fan of the idea of transparency given, as you point out, context. But many people are terrible at looking for context, even when it's available. Wherever transparency exists, some aggregator that will harvest shocking information and divorce it from explanatory context to drive "engagement" seems not to be far behind. But I find careful packaging of information for people off-putting as well.
Thanks, high quality production here!
Is this such a common problem that you need a new language to solve it?
> It may take longer to load, but I can have 100+ GIFs playing at once with no impact to my CPU.

I remember this myth, saying that the first moon landing required as much computing power (command central, ship etc.) as rendering a GIF. No mention about the resolution, frame speed and so on, though. Hence I think it's a myth. On the other hand you could probably tune those parameters enough to actually make it a true statement ...
Piers Morgan Experiences Labour on Live TV, Will Never Joke About Childbirth
If the third party is a major IT vendor, perhaps.

But lack of specs slows adoption, generally speaking.
The battlepass model is up and coming, where you pay to unlock a track with predictable rewards. As a person who plays a lot of games, I actually really like the predictability even if it means I end up feeling like I have to play a lot more.
I don't see why we can't use the IMG tag for video and the VIDEO tag for images. They should be unified, with all the same media formats supported.

IMG would autoplay, would not have sound, would loop, and would not have controls.

VIDEO would be the opposite. For something like a plain JPG or PNG file, it just shows the one frame. Animated GIF files would of course benefit from the controls.

The same should go for unification of the VIDEO and AUDIO tags. Play an audio file as video, and you get a black screen with sound. Play a video file as audio, and you just hear the sound.
Yep. You can include them in any forum or comment post that supports [ img ] tags. That's one reason why it's so infuriating that Google Image search now returns videos along with images because video-gif sites like Giphy look just like actual gifs in the results but you can't embed them.
You have a point. Actually, in the case of search-and-rescue that's already a moral decision that is made each time. In case the rescue mission itself is seemed to dangerous for the team, it's not attempted.
Security and privacy go hand-in-hand, but are not the same thing.
Because they think people are more likely to challenge their taxes and be less complacent to tax hikes if they have to see it and deal with it yearly. In reality those who make enough to be concerned are already well aware of their tax obligation and how to minimize it. It's just hogwash to punish citizens and poor people especially.
What Startup Founders Should Learn from the World’s Best Poker Player
As is SQL
The way I understand empire is a state which tries to expand its influence and dominate wherever it can.

And yes, for people being dominated by it, it has a negative connotation.

Different from a democracy and federation.
Because a democracy fighting for freedom and ... well democracy, would not do this:

https://en.m.wikipedia.org/wiki/United_States_involvement_in...

"During the Cold War in particular, the U.S. government secretly supported military coups that overthrew democratically elected governments in Iran in 1953, Guatemala in 1954, the Congo in 1960, Brazil in 1964 and Chile in 1973. "

This is what empires do.

Dominating their way onto weaker states, by all means. Sanctions, assasinations, supporting, supressing, blocking, sending weapons and ultimatively troops. There is a reason why there are US bases all over the world.

And yes, sometimes that can be a net gain, like in Nazi Germany, but usually all the human rights democracy talk is just facade.

And also yes, smaller states do the same, act like empires, but the US is by far the largest Power since the USSR vanished.

But china is on the rise and europe likes to be an empire as well ... but for example with europe I have the hope that we tend to stay more a democratic federation and not go down that path as well.
I've seen volume buttons used to turn pages; maybe something like that? Apple's force touch might also have potential. It doesn't have to all be tap-tap-tap.
Ask HN: What to ask before joining as 2nd hire in early stage startup?
I've worked with startups before, but that was already established 10 engineer shop. I've spent some time working with large 1000 dev unicorns, which later I found isn't my taste. I'm considering moving back to startups.

Primarily I'm focusing on founders, their style of work, their vision and if I'd like to work with them around. If both parties are happy at the end, I'll be their second hire. I'm 5+ years exp engineer (if that matters).

I'm at lack of non-tech questions. So far, I've asked about how their daily routine looks like, how's week-over-week growth and I also found this post recently and will ask some of them the next time we meet https://hharnisc.github.io/2018/11/25/twenty-questions-to-ask-before-joining-a-startup.html

Are there any other behavioral/non-tech things I could ask? Or any other tip?
Could you possibly elaborate on this? What kind of problem have you had?
How's that "free market regulation" working out right now?
A Day in the Life of Remote Worker: Catherine Richardson
If you can share a secret then some hmac + e.g. aes128 will make communication virtually impenetrable and protected aganst all or almost all possible attacks. aes needed for hiding data inside, hmac for data integrity (protection against resending etc). If you don't have any crypto built into hardware it will be tough
Nobody actually thinks that. Building a website is different than having a real functioning business with paying customers.

The heavily down-voted OP was merely stating an opinion that the "building" part of this is easy and that this kind of tool _shouldn't need_ some kind of large enterprise around it.

But just as much as people think building stuff is easy, engineers often have the inverse logical fallacy that the entire business stems from them and that things like sales, support, legal and HR are irrelevant.
Oracle's recent Java licensing changes are likely to reduce the use of Java for new projects.

https://www.lakesidesoftware.com/blog/java-did-what-understa...
Google employees demand open investigation of HR department
It's funny because I read halfway through your comment, thinking in terms of the "apt-get" command (wondering if this was some kind of premium APT service), and had to re-read it again, after realizing your domain name has nothing to do with the debian/ubuntu installer services.
Videó készítés, Riemchen, Verblender, chiptuning, autóalkatrész
> generics (aka. Contracts)

What? Generics ≡ parametric polymorphism.
RAII is commonly used for representing smart pointers that manage references to objects that themselves have otherwise pervasive lifetimes.

RAII not managing any shared resources is trivial and uninteresting. The lifecycle of an object that is confined to a single lexical scope can be handled manually and verified by visual inspection (though of course it is more reliable to automate that with RAII or macros, not to mention less verbose).
But isn't the whole point is that companies are exploiting a bug in our biology to profit? In that case, the fix has to happen more upstream...

If you want to argue that this could be fixed in libertarian-topia without government intervention, you might argue that I dunno, there could be a class action suit showing that the gaming companies knew that such and such mechanics were resulting in many people becoming addicted/going bankrupt and did it anyway, and maybe that's right.

And if you wanna argue that who is so-and-so to argue that X really didn't want to spend all her money on virtual farm upgrades then that's an argument too I suppose.

But if the problem is people are buying something they don't want to because of a dopamine hook, then arguing that the solution is to stop buying it isn't satisfactory.
Abnegation is one of the core reasons to play games. Some humans need times in their life to unwind and not be engaged. You can totally overdo it, but recognizing a game that is good for abnegation is totally valid.
Bridges are not the only things Professional Engineers are involved with. Aviation manufacturers, who often do exactly the kinds of things you describe, have Designated Engineering Representatives (weirdly, not required to be a PE) who is responsible for signing off on the airworthiness of equipment.

Further, losing your license is not the only or the worst consequence. (https://scholarship.law.edu/cgi/viewcontent.cgi?article=3165...) You also assume a civil liability which would be hard to prosecute for a non-licensed software engineer.

(And yes, if the 737 MAX 8 thing is officially reported to have a significant engineering failure, some DER is going to have a very bad day.)
Garbage collection is a big productivity boost. That's why Java killed C++ to begin with in the enterprise space. You can't go backwards in that sense.
At least personally (and with a few friends) my experience is that not merely is that argument wrong, it's literally backwards. Taxes are frequently painful enough that by the time I'm finished I'm ready to pay anything the computer tells me to so long as it's just over with. This year TurboTax had my taxes go up about 27% despite my income going down and no extra write-offs and I have no idea why, but I just paid it. I don't really have any interest in revisiting it and trying to dig through things either, because even if I had the free time (which I don't) I'd much rather spend it on other things, and anyway I figure taxes are normally too low in America anyway. Some friends now just pay a professional to do it (which I'm considering for next year), but that still means that now you have to pay even more money for something the IRS could and should just be doing for us all anyway by default. It'd make more sense in the normal scheme of things to only have to pay more to investigate if something seems off.

I mean even in general it's hardly an uncommon strategy by shadier companies to get people to pay more: make the process so convoluted and tiresome that people will pay whatever just to make it all go away (hell, see most of the medical industry for a big current events example). It seems like even if someone did want to embark upon an anti-tax strategy it'd make way more sense to increase transparency and ease, just have a big number in an envelope of "We calculate you must pay $X this year, which is $Y (more|less) then last year". Then if it's significantly more people can just focus on that while fresh, rather then arriving to that result after hours of going through stuff with nebulous "you may be audited by the IRS you potential criminal!" hanging over it all and thus being exhausted.

So even taking Norquist's goal as a given (which I don't) the strategy seems pretty damn stupid to me at least. The primary result has been that I now hate Norquist and every single person who goes along with him, and would cheerfully support higher, easier taxes not just because easy would be nice but also to piss him off.
There are good examples in the tutorial: https://edgedb.com/docs/tutorial/queries#ref-tutorial-querie...

The last query is still returning a flat set of Movie objects. The shape selector describes _related_ data that is also needed to be fetched by the query. So, the query actually returns multiple sets that can be reconstructed by the client into a graph of objects (or serialized into JSON).
The real test is, are you prepared to sacrifice 'moving the goalposts' on this altar?