skysight-inc/HackerNews huggingface dataset:
I'd hesitate to call this a software bug, this is a complete breakdown of planning.

FTA - "“Currently this calculation is not in ACIS at all,” the report states. “ACIS can calculate 1 earned credit for every 6 days served, but this is a new calculation.”"

tldr; a new law was passed that allowed for a different credit schedule for days served, and the system hasn't been updated to make that calculation.
It's likely more of an issue if you're wanting to fetch lots of nested data in one request, but only a few specific fields of what could be an extremely large object, like say the just the names and profile picture URIs for a large set of users that have interacted with the object your fetching. This is particularly relevant to social media, such as Facebook.
You seem to be assuming that everything which makes business sense is also good for the customer.
Agree. I've always preferred the Django vs the Rails way on this. Django uses pluralization only for display purposes.

Things are object_detail (singular) and object_list (plural).

It just assumes 'append s' for plural displays, unless you override. I like the _list suffix instead of trying to pluralize
In the case of crypto, it probably should. The reality is that there is so much compute power aimed at BTC/ETH, that if you try to use a 'cheap' crypto currency, it is susceptible to compute power attacks or at the very least, hasn't been battle tested against non-compute attacks.

IMO, if you are going to write a smart-contract or "invest" in crypto, you should have an extremely good reason to do it anywhere but ETH/BTC.

The price and value of the chain give an signal of security.
Pokémon is a hit because it’s cooperative
This isn't a "bug". The problem is the software was not designed to do this and needs to be updated to support a change in requirements

Bugs are when software does something it isn't supposed to, or doesn't do something it is supposed to. In this case, it's doing exactly what it was intended to do when it was implemented and put into service. Since then things have changed, so the vendor needs to implement the feature request, not "fix the bug", but this takes time.

> They estimated fixing the SB1310 bug would take roughly 2,000 additional programming hours.

wtf?

Guessing they estimated 1 person-year, but that's absurdly high.
The talk is available:

https://www.youtube.com/watch?v=ZNTeVt8V6PU
Maybe. But you missed https://www.youtube.com/watch?v=H6YJ5oIcT4g in the outro of the last episode.

There, saved you some time ;-)
I don't live anywhere near Glastonbury, but I'm fully aware that it is a real event. I'm at least in the same country as Miami, but have never attended the WMC, or the Grammys, or iHate Radio events in Vegas. I was a wee lad when Farm Aid occurred, but I was aware that it was more than a reference in an animated TV show. I've also been able to read music 'zines and websites without being geographically near any of them.

So yeah, sheltered or at the least, thoroughly uninterested in music as anything more than just something in the background. Willing to admit, I have a much more intense interest in music, so I do read/listen to things that would be considered history to something compared to anything performed before Taylor Swift.
Tech and media creates standards group aimed at building trust in online content
Interestingly, Long Island City in New York has become the same sort of concrete soulless high rise area, with an equally uninteresting name.

https://ny.curbed.com/2016/8/31/12732412/long-island-city-de...
Not a ruby developer here: that sounds terrifying! Does it make it harder to have a proper mental model of the language (note: not the libraries) or is this mainly because of flexibility (too many ways to skin one cat)?
Food takes time to leave your body. If you always eat, you'll always be full of food. I feel like being empty of food is a great feeling. You feel lighter, less bloated, less disturbed by the food in your body.
I recently used this to put together a unified PL classification model. It's nice because any language treesitter grows to support we'll support pretty effortlessly and treesitter captures more than enough nuance per language to derive high quality classifications.

It's fair to say we can classify a snippet of code based on either single or multiple AST paths produced by treesitter. Right now only doing the programming language but extending it to function classification or description etc isn't out of the question we just don't need it right now.
You can do it with query params. Its not enforced or consistent because not everything that serves data can parse the data.

You could throw static json blobs on S3 as a rest API but selections would not be supported.
True. But if you make the disease not deadly at all, then no one dies, regardless of how transmissible it is.
Engine parts drop from Boeing 747 cargo plane in Netherlands
I find formatting can help. List each of your questions at the bottom of your emails, so they can go through them and answer them one by one. It's also harder for them to justify answering one question and ignoring the rest when you lay it out for them in one place.

Depending on the questions and how much the answers matter, it may be better to ask each one after they reply to the previous one, so they don't feel overwhelmed being asked all of it at once and put more thought into answering each one.
Writing a Siggraph Paper (For Fun)
The whole point of graphQL is to allow FE teams to decide what information they need in an organizationally decoupled fashion, you haven't done that at all. Suppose FE wants another join on that object, now they must wait for you to push more code enabling those queries.
odd, when I first read it my brain misidentified it as "Hela cells"

https://en.wikipedia.org/wiki/HeLa
Pay the money or the inmates stay in prison for longer... weird hostage negotiation but okay...
Andrew Wilkinson: I'm quitting podcasts because audiobooks are better
Two reasons, I think:

* there isn't a general method of starting from a query plan and verifying it aligns to a particular query, which means you're very much on your own if you try to change it to something Postgres has not (or maybe cannot) generate

* there is no "ABI guarantee" on query plans, so you're locked into a particular build
Things I wish UX candidates would ask me during interviews
Abundant Capital
Interesting. I think I know somebody who might be interested in something similar: ie, put X BTC as collateral for a loan, and pay it back after a year to get X BTC. Any pointers for where I could learn how this could work?
U.S. Jobless Claims Hit Four-Week High
> which one was more pleasant to write? Did java allow for iterating quicker?

Java. And I'm a career C++ programmer.

The whole system was built to be event driven (messaging) from the ground up too. It had a lot of benefits like performance testing code without instrumentation, the whole junit/mockito ecosystem, code completion in Intellij that actually worked. You only had to worry about code errors, not linker errors. We had over 100,000 unit tests.

We leveraged the whole JVM and ecosystem too. Outside of the hot path code, we could just go and use json libraries, webservers, and so on. In C++ we'd be struggling (not so much these days), to throw together a JSON/REST/ws webserver in the same code base.

Though Java always feels like to trying to unwrap a present whilst wearing mittens. It's excessively verbose. We didn't pick Kotlin as at the time as that was known to emit various extra byte code for seemingly trivial calls, and was only on v1.0 at the time.
When can we buy a motorcycle with this in it? I'm joking, but you know someone wants to kill themselves that way.

On a more serious note, what other applications do you intend for these?
The AZ vaccine is more effective than the BioNTech one? That's extremely interesting.
bison should be compared to https://github.com/tree-sitter/tree-sitter-ruby/blob/master/... probably?
As a layman with a slight interest in linguistics, I keep coming accross the Pirahã language as an example that refutes the Chomskyan idea of universal grammar. As far as I understand it, this is not actually true and the professional community mostly sees Everett as a charlatan. Is this correct? Does anybody know if there are professional linguists who take his theories/observations seriously?
EFI System Partition
Well, there's a lot of forms of randomness...

One could use Thompson sampling. Every comment starts with 1 up and 1 down vote. The total number of up/down votes determine a beta distribution. When displaying comments, draw from the beta distributions for each comment, and present them in that order. High quality comments drift reliably to the top over time, but other comments have their own chances at the top to accumulate votes and better determine their place in the stack.
If my tax $ goes to it, it should have source available (excepting natsec). it would be nice to get some value out of it. If it's well written, I could learn how a large scale project works. If not, I can have something to petition and voice my concerns about, inform about vulns, etc.
Do not use a page argument for pagination. If you have another process/client concurrently adding/removing items, then some items will be returned twice, and others will never be returned. It is better to use, for example, the ID of the last returned item as a starting point for the next query.
Hailo sounds like an extremely clever name for a taxi app, since (at least in US English) one might "hail" a traditional taxi. FreeNow seems clunkier to use as a verb, plus it doesn't seem to connect to the service at all. (Unless the taxi ride is free now!)
If you want a pretty decent REST-ish API right out of the box, and you already have a DB, check out PostgREST[0]. More features than you can shake a stick at, and all you have to do is maintain your DB schema.

[0]: https://postgrest.org/en/v7.0.0/
Can you wrap that operator call in a function, and index the output of that function?

(sorry if dumb q - but I've used this technique myself, and indeed, my favorite hack in recent years are JavaScript UDFs in plv8... super ugly but very very flexible...)
This is DoD truthiness at the core - it only cost 159k to assemble the report, which was probably based on 7-8 multiple studies and analysis that cost a couple of hundred thousand to a million dollars each. This isn't greenfield research, this is a report compiled from a bunch of other reports
It's very important until universal vaccination is achieved.
Utopian designs are not just for tech moguls, they're for anyone powerful who wants to reshape society from the top down. But we don't have as many dictators these days, and tech is the hot sector where the money and influence is found.
Inflation Problems Depend on Where You Look for Them
this is why I have moved to Rust. I worked in Go a number of years ago, but after becoming proficient in Scala, I've decided sum types and pattern matching are where the sweet spot is. The JVM has its own issues though and I'd like to have a performance-conscious language in my toolbelt that doesn't sacrifice expressivity. Hence: Rust.
Taken to the extreme I've heard the Blue Man Group is more a franchise than theatre group which recruits the the personnel for their shows locally.
Comedians do shows, they have a persona, an act, and they do their bits embedded into a context. If someone just randomly shouts Nazi ideology into the void, especially at a time when that void is very ticklish, it's not unheard of that the void silences the shouter.

(Is this good? No of course not, it's a very sad state of affairs that somehow constructive de-escalatory discourse is not incentivized on these platforms, and preaching to the choir, virtue signalling, trolling and so and so are.)
I think I heard that Perfect Dark is what Rare wanted Golden Eye to be, but I guess didn't have time to fully develop. It's a shame that it never got the same level of attention as Golden Eye, I assume because of lack of marketing & being second to come.
In countries with working currencies like EU and US, yes almost all crypto is speculation. BUT, countries that have poor banking system a poorly managed/trusted economy don't have access to even banks, let alone investments and stocks. Crypto lets those people participate in the global market.
I agree, everyone should get vaccinated before they get into large groups.

EDIT: would love to know why anyone would downvote this. Seems uncontroversial to people who aren't anti-vax.
Not since 2019: https://blog.golang.org/using-go-modules

The project has to opt into it, which appears to be the case here since there is a `go.mod` file. Are you using a modern version of Go?
Tech has major entrenched interests in maintening the financial status quo
100% carrying around my prized possessions, discman + CDs or minidisc, was pivotal to who I am now. And always with me was Daft Punk's Discovery. At that age, the songs felt long but in a good way. I couldn't wrap my head around the undulating changes and how it they made music. I also love Homework but Discovery has been a top album for me since I was 12. Veridis Quo captured my imagination and was a big influence which I believe led me to enjoy artists like Sigur Ros.
And how do you propose to effect that? Because can you trust apt? Not really, but we just do. Can you trust that you're talking to the DNS server you think you're talking to? Again, not really, but we do. Can you trust that your admin won't violate their contract, and the law, for personal gain (or to prevent personal loss)? Still no, but again we typically do anyway.

The real world includes things like large infrastructure, hospitals, defence, etc. Separating root from kernel in those settings adds complexity because just having "be root" be your access pass to the everything has already been proven to not be good enough time and time again.
> In other words, it’s possible to write Java, from the machine level on up, for low latency. You just need to write it like C++, with memory management in mind at each stage of development.

If you do that, you lose on a lot of stuff in C++ that supports that. For example, destructors/RAII make managing memory resources a lot better. Tooling like Valgrind, ASan, etc make it easier to find issues in your memory management. With Java, you don’t have those. The vast majority of Java is written with GC in mind, and when you go off the beaten path and do memory management on your own, you won’t have the language features and tools to support you, making it harder to do than in C++.
As a Norwegian, the title gave me great joy.
Because of the domain name, I expected this to be a quality blog post from the stackoverflow engineering team--they always have good content.

But this website appears to be a place for free-lance writers to post articles of somewhat lesser quality. I wonder what happened? Appears the Engineering Blog is now here: https://stackoverflow.blog/engineering/
>I know of a researcher that held a multimillion dollar informatics grant for 3 years. In that 3 years they literally did nothing except collect money.

I hate that every HN post about academia ends with an anecdote describing some rare edge-case they've heard about. Intentional academic fraud is a very small percentage of what happens in academia. Partly this is because it's so stupid: academia pays poorly compared to industry, requires years to establish a reputation, and the systems make it hard to extract funds in a way that would be beneficial to the fraudster (hell, I can barely get reimbursed for buying pizza for my students.) So you're going to do a huge amount of work qualifying to receive a grant, write a proposal, and your reward is a relatively mediocre salary for a little while before you shred your reputation. Also, where is your "collected money" going? If you hire a team, then you're paying them to do nothing and collude with you, and your own ability to extract personal wealth is limited.

A much more common situation is that a researcher burns out or just fails to deliver much. That's always a risk in the academic funding world, and it's why grant agencies rarely give out 5-10 year grants (even though sometimes they should) and why the bar for getting a grant is so high. The idea is to let researchers do actual work, rather than having teams manage them and argue about their productivity.

(Also long-term unfunded project maintenance is a big, big problem. It's basically a labor of love slash charitable contribution at that point.)
Not the OP but we seem to have very similar experience developing low latency HFT systems in both languages.

Java is much more comfortable to work with when you need to rapidly deliver some latency-sensitive functionality, doesn't blow up with segfaults if you do something stupid and has awesome profilers, debuggers, IDEs, dependency management, etc.

Where it looses compared to C/C++ is when you need to have absolute control over the emitted native code (this is getting very close to solved with Graal) or when you need to prevent deoptimization storms when hitting an uncommon branch in the middle of the trading day (there are ways to prevent or limit it but it's ugly).
On topic and timely WSJ article on inflation: https://archive.is/AsvgT

It isn’t just stocks. Our inflation measures make a mockery of including households’ largest expense - housing.
So the stability fee you pay is 4.50%. You're still holding on to your assets appreciation, so if Bitcoin continues to appreciate at 300% per year, the 4.50% is a drop in the bucket and you didn't have to pay a capital gains tax.

Eventually, some companies are working on tokenizing homes, so once that happens, you could potentially deposit that as collateral just as easily, but that's still far out.
No the JSON file there is generated (I believe?) from the JavaScript I linked, while the Bison file is hand-written.

With tree-sitter you're hand-writing a 1k file. With Bison you're hand-writing a 13k file.
I don't mean to imply that this is your intention at all, but it's a false choice. Both questions are interesting; no need to set them up as if they were in tension with one another.
Any time some idiot spouts "the science is settled" just point them to this.
> What a strange thing to pin on tech. Company towns have existed forever, to the point of having laws made about how they can function.

The idea of building a utopian city doesn't need to be a brand new thing for tech moguls to have a greater interest in creating them than other types of contemporary moguls.

Also, I don't think a company town is really the same thing as a utopian city. In my mind a "company town" is mainly an attempt to maximize exploitation of a set of workers, while a "utopian city" is built as a pure expression of some subset of someone's ideals, relatively unsullied by competing ideas, which usually aren't so crass as "maximal exploitation of the residents."
Unpacking Amazon ECS
HN seems wildly pro crypto compared to most places. It’s like Tesla which isn’t universally supported, but still gets a lot more coverage than Ford.

People do bring up quite reasonable objections like environmental costs, but it stories get a lot of upvotes and suggesting many people are strong supporters.
Cases go down when the virus is spreading less. We know lockdowns are effective because that’s happened everywhere which effectively implemented them, but nobody is saying that it’s the only option: for example, if anti-maskers woke up one morning and decided to be decent people the rate would reliably slow, too. What doesn’t help is pretending that the risks aren’t real and haven’t been well-understood for roughly the last year — ask how many people would still be alive, in better health, and working if your country had simply copied the plans from Taiwan, South Korea, New Zealand, Australia, etc.
Show HN: My recent side project: practice your SQL at sqlforever.com
Hi, I’m developing an SQL course for students who may not be very techie. I wanted to avoid having them install Postgres or work with SQLite at the command line.

I created http://sqlforever.com so students can start writing queries against a pre-loaded database. No downloads, no signups, no picking this option or that option. Just sql.

The backing database is SQLite. The datasets are open source relational datasets available on the internet.

Students can click a button to share their queries with a teacher or classmates.
I sorry to hear about your brother's Mother-in-Law.

I just wanted to concur for anyone who is not yet aware: all the data so far (from multiple studies) shows that there is zero or near zero protection for the first two weeks after the first dose. It's not until the third/fourth weeks after the dose that you start to see substantial protection, with higher protection the fourth week.
Oh I've got many questions :)

1- Isn't a HW startup really hard compared to software? Like the ideas are like yet-another-social-media-site or a SASS but in hw one needs to do the embedded programming, the mechanical design, the software, marketing and *then* the novel idea that sells. How do you do it?

2- How do you manage to find the expertise to build a viable product? How did you find investors?

3- Any tips/books you'd recommend for hardware/engineering related startups?
I could see some irony in this.
US/UK were bombing these Uighur extremists/separatists just a few years ago. Now they are seen as useful pawns in the trade/economic war with China, so the genocide narrative gets mainstreamed by the usual suspects (the same ones that tried to hide the fact that we (US/UK) were arming/training/funding ISIS and visiting Uighur/Turk terrorists in Syria).
I'm desperately looking for documentation on LogSeq.
F.i. simply how to embed source code written in PowerShell?
It's mostly to work less surprising to the programmer, AFAIR. Probably the most complexity is from having to differentiate local variables and methods depending if the symbol had an assignment before in the scope.
The relationship between COVID and the local economy is highly country-dependent. For example, several Balkan countries’ economies are very dependent on their diasporas (and the occasional tourists) driving/flying back and spending loads of money earned in the West. This is why even now they have remained open to travelers and avoided hard lockdowns, even if COVID deaths might result.

And then there are countries where the economy is based on resource extraction. Only a relatively tiny amount of people is necessary to work the oil and gas industry, or whatever, and thinktanks have sometimes bluntly referred to all the remaining millions of people as "superfluous population". So, whether you let COVID spread or not has little overall effect on the economy.
There is (was?) a company called Viziv in Texas doing just that. I haven't heard any news, anyone knows where did it go? I assume it doesn't work as there weren't any major news.
The fact that they appear to have identified individuals who should be released, but have not, due to the software not being updated, is frankly disgusting.

I believe holding a person against their will is a criminal act - seems like most of the employees of the Arizona correctional facilities are now guilty of crimes worse than the majority of their inmates.
What do you see as the killer use case for crypto currency/blockchain/smart contracts, etc.? I mined a few Eth in the very early days, and hung onto it until selling recently. I sold because I couldn't convince myself they had any value not based on the "greater fool theory". Was I wrong?
The word 'sheltered' is still misapplied here.
There is a lot of reasonable opinions on the topic, but I would consider design and requirements bugs that render the software unfit for purpose to be bugs as well.
This is called "content marketing".