skysight-inc/HackerNews huggingface dataset:
Few worthwhile efforts are successful on the first attempt. Failure is just another useful metric giving guidance for the next effort. Guilt has nothing to do with failure.
Problem: our food has too many poisons we need to disclose. Solution: better icons for all the types of poisons! Did anyone think of a different solution?
So maybe a more useful comment than video-range/full-range pedantry over historical brokenness:

Banding (which I think is the root cause of all your complaints) is effectively due to overly coarse quantization. This is amplified in H.264 (which Netflix and Amazon generally use) since the signal has multiple 8bit -> 10+bit -> 8bit trips, with each 8bit reduction contributing additional errors that can effectively result in small changes between blocks in the input signal amplified into noticeable differences in the output. And it's more noticeable in low-light scenes since current standards' gamma transfer functions compress a bit too much on the lower end (maybe my personal opinion there...)

The easiest solution is to have more discrete steps at each intermediate point. But for that to really help you'd need to change codecs from 8-bit H.264, which means not being playable on many devices. I mean, you could get 15% finer quantization with full-range 0-255 over video-range 16-235, but that doesn't help that much; you really need the 4x that 10bit gives you to be noticeable.

The second easiest solution is to have a debanding postfilter. But between the wide variety of platforms Netflix/Amazon have to run on, and modern DRM requirements, that's also not really an option.

So ultimately, you're left with developing prefilters to try to shape where bits are needed for given scenes, and careful tuning of your encoder. Which Netflix (presumably) has a several year head start over Amazon on.
Good thing you do not work on security or real time critical or life critical applications then.

Seriously, the only kind of perfect code is the one that has been proven correct. Or in fact the proof itself.

Otherwise you're talking about "code we think does the thing and looks nice".
Reading that next!
Agreed, rockets are and will be dangerous for a while. Astronauts are brave to be willing to risk it. Let's hope the Draco escape system will get them out of the next emergency.
Show HN: Random Password Generator
Hmm, I've compiled kernels several times on Arch Linux since I got my Ryzen build together and I haven't experienced this issue at all so far.

Might be affecting only a subset of users based on silicon?
Because these icons are for mcdonalds only. If magically they were universally adopted, then I'd agree. I seriously doubt they will, especially because they're not particularly clear as they currently stand.
the article says that a lack of good jobs in the real word is contributing to this.

Now gamers have their own online communities; I guess that the network of online friends could help to build a real world network to solve real world problems. This would be of great value to the players.

I wonder if future games will have a built in social networking functionality...
Wait, what? Every year at least 65,000 skilled workers (and actually many more) migrate from other parts of the world to settle down in the US. Sure, there's a lot of family-based migration too, but there's also a lot of talent-based migration. Countries like Canada have a 'points' system that specifically recruits talent and qualifications.
because not enough research was done prior - without research, talking to customers, getting feedback before launching, you will often end up with a product no one wants. for a product launch to be successful, it has to have a "wow" effect. having a "wow" effect means solving a problem that is really annoying with a great solution - this requires a complete understanding of the problem.
Giving the device I unique ID, registering it somewhere. Mount the image and inject configuration information. Then you need to build some production worker friendly appliances to actually program your devices.
This was done once before. It was called CDDB.[1] That went from open to limited access to totally proprietary. Fortunately, this new one is under GPLv3, which makes it tough to pull that one again.

There's FreeDB (http://www.freedb.org) which does roughly the same thing, starting from the old CDDB database before Gracenote, and then Sony, bought it. Their database dump is supposedly available.

[1] https://en.wikipedia.org/wiki/CDDB
If you're already christian, I'd recommend not reading the bible cover to cover. I did, and it made me an atheist.
The traditional way of financing a car purchase in the UK is a hire purchase agreement where a large deposit (usually half the value of the car) is paid upfront. This can be cash but is often covered by the part exchange value of the customer's existing car.

At the end of the term the customer owns the car outright. And, from the outset, he has some equity in the car by means of the large deposit.

The author of the article is talking about contract hire schemes where there is a monthly payment but, crucially, the deposit required is often only 2 or 3 months advance rental.

At the end of the term the customer owns nothing and can be liable for minor damage. The contracts also can have a mileage restriction which is well below average.

So, sure, it's no different to a fixed term lease. These have been widely available to businesses for some time in the UK. The change is that offering these deals to the general public has now become much more common.

The author is suggesting that people are not sufficiently financially sophisticated to understand the implications of this arrangement if their circumstances change unexpectedly.

I disagree. I think most people know what they are getting into but now they have the opportunity to drive a new car they would never have been able to afford otherwise any concerns are put to the back of their mind.
The inodes thing was about lack of 64-bit ints specifically. As I understand it, it was a bug where Node converted inode values to floats (instead of using strings or pairs of 32-bit ints or whatever). One could argue that the bug wouldn't have happened if JS had 64-bit ints, but anyway it's not a foundational thing.

The performance implication of JS not having ints is a different matter. In practice, if you write code that treats a variable like an int, modern JS engines will correctly compile that into bytecode where it really is an int, and performance will be as expected.

So the lack of an int type doesn't really hurt performance, though one can argue that it makes it harder to write performant code.
While the guy's story is very heart-warming, the most important part, which they quickly glossed over, was his getting married to an American lady who helped him migrate. Without that marriage, he would most probably still be in Ghana.

Also: he was performing an important role in Ghana delivering medicines, and by migrating, now that sector has lost an important person. I wish he would go back with his newfound knowledge and help make things better in Ghana, where he is needed much more than in the US.
Still seems orthogonal to me though. Why couldn't all top-to-bottom titles start at the top of the spine, and similarly be justified?
I have heard that this works legally, but that you have to be willing to take them to small claims court, and good luck getting them to actually pay when you win a judgement against them. (You'll have to hire someone else to actually collect the money from them, and that likely makes it not worth your time and/or money.)
Tips for Buying Hockey Jerseys
A command-line password generator that sources entropy from /dev/urandom (configurable in the source to /dev/random), generates printable ASCII passwords without whitespace, and preserves entropy with a guarantee to waste no more than 63 bits of entropy in a single invocation on most modern machines.
mappable.com uses this to allow users to build a hierarchical artist/album/song voronoi exploration tool.
> It’s no secret that I really like Clojure and as a lisp, it was the easiest language for me to start the prototype with, but there’s no reason this couldn’t be done for any language with a dynamic runtime. The rest is mostly simple analysis of an AST and some clever inference.

I have looked into this. It is kind of criminal that for most real world languages (Ruby[1], C[2] etc), it's not possible to just define a grammar and throw it at a standard parser generator for them - they generally have one or two quirks which make this infeasible.

In my ideal alternate universe it would be considered unthinkable to publish a language without also publishing a grammar in a standard format for said language, which can then be plugged into your favourite text/semantic/tree editor. Our tools should dictate our languages, not the other way around.

[1] http://programmingisterrible.com/post/42432568185/how-to-par...

[2] https://en.wikipedia.org/wiki/The_lexer_hack
The EU tried something like that with their energy efficiency label http://www.olino.org/wp-content/uploads/2010/10/2010_10_ener...
Extremely relevant, particularly his remarks: https://youtu.be/8pTEmbeENF4?t=1174 (19:34 if t= doesn't work).
Usually taking out finance and making some investment decisions requires that you are given a Key Facts Illustration, which looks roughly equivalent.
remote denture cleaner! https://news.ycombinator.com/item?id=9995535
I'd rather see a rewrite of QNX in Rust, as open source. The QNX kernel isn't very large, but it offers most of POSIX, so you can run programs on it. (L4 is nice, but it does so little that people just use it as a hypervisor to run Linux. This doesn't simplify the problem.)

If you rewrite the Linux kernel in Rust, one module at a time, you'll just end up with C written in Rust syntax, with raw pointers all over the place.
I see that the point of this site is supposed to be that a change in implementation (keeping the language itself held constant) greater affect on performance than rewriting in another language.

My problem with this site it makes poor support of that claim. The data is hidden behind loads of links, and none of the data is visualized at all. Even a few simple bar charts, keeping the hierarchy of the site otherwise unchanged would vastly aid comprehension. The points being made would come across much more easily.

This sort of data is the poster child for visualization, yet this site relegates the data to tables of numbers.
_The Beginning of Infinity_ changed my worldview from thinking progress is slowing down or problems in the world are overpowering to a more hopeful one where problems always be there for humans to solve, and that through human activity we can keep making progress. It also gave hope that one day in future, we might be able to clearly see that good, bad, evil, love, beauty might be fundamental aspects of universe, just like gravity, atoms, and radioactivity is. It also walks through philosophy of science (v/s pseduo-science). All in all, I wish I had read it earlier.

_Feeling Good_ because of the tools it contains to battle self-defeating feelings that lead bouts of sadness or depression. I wish everyone would read that book so that they can build mental immunity against circular, depressing thoughts.
Nim or Rust might be appropriate depending on the project. To me the idea of replacing C with either of them comes down to a value-sell of how much you value Rust's safety guarantees and whether you're willing to make the investment of learning to use it or if you're just going to wrap everything in unsafe{}. Considering you're talking to C programmers, I don't think they value that safety very much. If they did, at least compared to other values, they'd have moved to a GC language like Java long ago, or at least a C++-subset-with-rules. So Nim has a lot of nice features that they might like and expect from modern higher level languages, a lot you can use even if you alloc() everywhere and avoid the GC, which you can do because it has an optional and implementation-swappable GC. And it's not like Nim is just as unsafe as C if you don't use the GC, the compiler stops you from shooting yourself in the foot for a lot of things plus there are some good (tunable) defaults on runtime behavior. Finally the ramp-up time to get productive in Nim, and ongoing development effort, is probably less than Rust, which will help the sell too.
I readed python was slow, but i had no idea it was relativly That slow!
Well, yeah. But they'll surely beat that 1.5% failure rate of the sts. They're at a 3% total failure rate right now, but they'll have (I hope) a long run of success, maybe hundreds, before they put people on the falcon.
That last paragraph is a logical fallacy, because it posits that one's distaste for JavaScript could only come via ignorance. I will offer my own anecdotal experience to refute that assertion. I've been forced to use JavaScript since the 1990s, and have done significant amounts of work in Node for several companies. I dislike Node and JavaScript because JavaScript has a weak standard library, ugly syntax, is slow, is a pain to scale, and a pain to write complex code with. I will absolutely give credit to the Node community for improving JavaScript, in both speed and syntax, and admit that JavaScript is better now than it ever has been; however, so are most popular languages. Personally, I've removed JavaScript from my resume, and turn down jobs that use it. If I have to use it for some reason, I can, but right now, I typically avoid it altogether by using Elm, and real server-side languages on the backend. I can't speak for anyone else, but I know JavaScript and still don't like it.
Hook (Puzzle Video Game) [video]
You mean like Windows NT family (almost), iOS and Mac OS (since X)?
Start saving. There may come a time when you want to work on your own projects. And it would be awesome to be financially independent.
It's not exactly the same. The icons are mnemonics which are mostly useful when you understand what they are trying to represent. Words on the other hand are totally useless if you don't speak the language they're in. It would be very difficult to memorize a word just by its appearance in comparison to an icon.
GPLv3 is a software license, i.e. not appropriate for data. I suspected the folks behind MusicBrainz would know that, so I did some looking around and found this:

"The MusicBrainz Database is split into two components for licensing purposes.

"Core data

"The core data of the database is licensed under the CC0, which is effectively placing the data into the Public Domain. This means that anyone can download and use the core data in any way they see fit. No restrictions, no worries!

"Supplementary data

"The remaining portions of the database are released under the Creative Commons Attribution-NonCommercial-ShareAlike 3.0 license. This allows for non-commercial use of the data as long as MusicBrainz is given credit and that derivative works (works based on the CC licensed data) are also made available under the same license."

Source: https://musicbrainz.org/doc/About/Data_License
> if everyone with those qualities leaves the community, the rest of the people are helpless and will be mired in poverty forever... In any case, I think this sort of thing is a significant reason why countries don't develop. Change always starts from a small group of changemakers - if those people all just emigrate, nothing will ever change.

Third world countries don't develop not because of brain drain but because of systemic corruption and protection of domestic uncompetitive/unproductive interests. The political leaders of these countries exploit their citizens as members of governments without proper controls to prevent such exploitation from happening.

The citizens of these third-world governments are victims of governments which do not serve their interests. Shifting blame onto enterprising people whose ambitions lie in their chosen profession and not in politics is guilty of blaming the victim and argues against his right of individual agency.
So the company's fault. Embarrassing they tried to blame the new guy. So many things wrong with this.
C program reverse number
Two days? I wrote my thesis in Tex and i probably spent two weeks! But the end result was typographically great! When you're in academia, you can afford to spend that time. These days, it's all Google Docs for me.

I've had complete strangers email me with Tex questions just from encountering my thesis.

The community on Stack Exchange was very helpful for me.
I kinda think he's a zealot. Super committed to a cause. People buy in to the cause. Some burn out and some thrive. I think it's unethical, but those recent grads are pretty enthusiastic about their 80 hour weeks.

True believers thrive. I wish there was a way to find true believers without burning out a bunch of kids.
I can't believe the car bubble isn't a bigger story. I know a waitress who is single, can barely afford an apartment, can't afford internet service, and who just financed a brand new Jeep. This reckless lending is setting the country up for catastrophe. The next economic downturn will cause people to lose their homes and their cars.
Yeah - I have been scratching my head ever since I read this.
Nope, not the reason. My "go-to" language when prototyping most things is still Erlang.

Erlang is by far my favorite language and environment to use, and for a whole slew of things I'd still grab it for production projects/products.

I moved into the world of autonomous vehicle runtime software, and tools closer to the metal with deterministic timing characteristics are a requirement.
I agree, musicbrainz is absolutely awesome.

I use it daily for a couple of year now (to clean up the tags in my collection - quodlibet integrates nicely with musicbrainz for that) - and very rarely I am playing something that's not there.

When this is the case I try to add/edit the metadata, but most of the time, they're way ahead of me.
Less well known, but Torbjorn Granlund Instruction latencies and throughput for AMD and Intel x86 processors has also been updated for Ryzen.

https://gmplib.org/~tege/x86-timing.pdf
I used to do that, but I've started using a toaster oven (400 degrees Fahrenheit for 6 or 7 minutes) now that I have one.

The skillet (understandably) doesn't heat the top of the pizza that much. The toaster oven doesn't have that problem.
Basically it parses the tweet extracts relevant keywords, finds the top book.

Then it finds the similar books and then tweets the result.
Sitting in my FreeNAS Gogs instance, but I don't suppose there's any harm putting it up on GitHub when I'm back from traveling at the end of the week.
This is why benchmarks really don't mean much. They are a myopic view of the complex nature of language selection. For example, I would never recommend Java for a bulletproof app that had to scale, because OTP is so much better at scalability, fault tolerance, live debugging, and hot code deployments. At the same time, I would never opt for Elixir for doing screen-scraping, because it is slow at it. Sometimes, developer productivity is more important than speed and scalability. It is important to know the strengths and weaknesses of various languages, and the most important aspects of your project, in order to pick the right tool for the job, I think. Performance benchmarks are but a small part of the selection process.
Oh yes, exactly! I wonder why for of was not mentioned in the article...
Dreams are possible in America only and only if you have a green card...don't bother about the suffering rest who were born elsewhere
You seem to imply people care too much about TED yet the only one who keeps up bringing TED is you.

I also find it amusing you seem to have disdain and a feeling of superiority to startup bros and their emojis yet from a cursory glance, it doesn't look like you are doing anything out of ordinary or have achieved anything worthwhile yourself.

There are people who find "the alchemist" deep and life changing and there are people who find it trite and useless. You seem to be the first kind and I am latter. Nothing could come out of this conversation for you or me, so I will sign off now.
I destroyed an accounting database at a company during a high school summer job.

A mentor was supervising me and continually told me to work slower but I was doing great performing some minor maintenance on a Clipper application and didn't even need his "stupid" help ... until I typed 'del .db' instead of 'del .bak'. Oooops!

Luckily the woman whose computer we were working on clicked 'Backup my data' every single day before going home, bless her heart, and we could copy the database back from a backup folder. A 16 year old me was left utterly embarrassed and cured of flaunting his 1337 skillz.
Here’s the Unofficial Silicon Valley Explainer on Artificial Intelligence
Yet. I like rust. It has a deep, thoughtful approach to many problems. But, C++ is pretty long in the tooth. Of course it's weird and inconsistent. Give rust 30 years to really entrench itself as a systems language. It'll be wierd also.
It is more than one year that I work with IoT and honestly I don't have understood the google offert.

I had the pleasure to work with IoT and the Lora protocol writing and managing a Lora network server, the piece of software that takes Lora messages send through radio and decode them from radio -> udp -> MQTT (encrypted) -> MQTT (clear)
[shameless plug, I packed my experience in an on-premises service: http://loranetworkserver.com/
]

The difficult part I believe is this one, after you got the MQTT message in clear what you do with it is quite simple, straightforward and overall a solved problem (unless you are not getting millions of messages per seconds, but very few businesses have such load).

From what I understood from the google page they are solving the simpler problem of getting the data from an MQTT message and save it to disk, and maybe use later for data mining.
It is weird because I wouldn't accept to have my data saved in someone else disk, at the bare minimum I would require to have the data duplicated in some standard (pg, MySQL, mongo) db (even a db managed by AWS or Google, but a standard one that I can move at will).

It doesn't seems the most valuable piece of architecture that they could develop.
Amazon doesn't tweet book recommendations and you won't to deal with a lot of stupid suggestions.

The bot automatically selects the best book and tweets it out.
Elon Musk's growing empire is fueled by $4.9B in government subsidies