skysight-inc/HackerNews huggingface dataset:
What you say makes sense but I'd advise beginners reading this comment not to overdo it. I've seen new coders "cargo culting" this one-return-per-function rule and leading to code that was, in my opinion, unnecessarily complicated.

For instance parameter validation is one instance where I think an early return is very much warranted. There you typically have no cleanup to do since it's effectively the prelude of the function.

Regarding nested error handling, I prefer the "goto fail" pattern. Some people are opposed to the use of goto as a matter of principle but I think in this case it's fine. It's effectively the poor man's RAII when you don't have destructors.
A minor critique, I got recommended strawberry oatmeal, with strawberrys, rolled oats, fat reduced milk and brownulated sugar.

I'm aware there are lots of differing opinions on macros, but I would certainly skip the sugar (given there already is 2 cups of strawberries) and go for regular/whole milk, which should even out fairly similar on kcals.

I noticed the paleo and keto options, but seeing as the oats, milk and strawberries already push this outside of those diets, it's still an awkward default recipe.

My very nitpicky 2c.

Great work!
The gui reminded me of an old tcltk gui or something
> every single distro has their own, incompatible way of doing things

This doesn’t have to be the case; there can be multiple implementations of one standard (like we have it the web).
When I studied media science one of the most lasting experiences I had was a talk with one lady of the viennese film museum (on of the few film museums that store actual films instead of film props).

As a digital native I never gave it a thought, but she told me that there is a collective memory gap in films that have been shot or stored digitally. With stuff that has been stored on film, there was always soem copy in some cellar and they could make a new working copy from whatever they found. With digital technology this became much much harder and costly for them, because it often means cobbling together the last working tape players and maintaining both the machines and the knowledge of how to maintain them. With stuff on harddrives a hundred different codecs that won’t run on just any machine etc this combined to something she called the digital gap.

I had never thought about technology in that way. Nowadays this kind of robustness, archiveability and futureproofing has become a factor that drives many of my decisions when it comes to file formats, software etc. This is one of the main reasons why I dislike relying soly on cloud based solutions for many applications. What if that fancy startup goes south? What happens to my data? Even if they allow me to get it in a readable format, couldn’t I just have avoided that by using something reliable from the start?

I grew to both understand and like the unix mantra of small independent units of organizations — trying as hard as possible not to make software and other things into a interlinked ball of mud that falls apart once of the parts stops working for one or the other reasons. Thinking about how your notes, texts, videos, pictures, software, tools etc. will look in a quasi post apocalyptic scenario can be a healthy exercise.
It's almost as if you're parsing the sentence as a computer would.
It's Hard to Ban Facial Recognition Tech in the iPhone Era
Dissecting Graphcore's IPU Architecture via Microbenchmarking
"Now they can fuck off and I am very happy to hear this. Also hoping they lose their appeal in London and disappear for good. "

i think uber is by far the best thing to happen to transport and part-time work in decades. i've known so many drives all around the world working for uber 1-2 hours per day. even knew a guy that worked for them just 2 trips per day: his daily commute.

just the feeling of not being denied service because you're brown, or that you want to travel to a certain neighbourhood, is a vast, vast improvement over the incumbents.

of course the taxi drivers don't want to change their horrible service. they paid good money for a job that will hopefully be completely automated in the near future.

"They've been good at forcing the existing taxi/transport industry to modernise"

if by modernise you mean "hire more expensive lawyers to sue everyone", then you're right.
I have a Chromatone keyboard, with its 6-row Janko layout. The top row is really part of a chromatic run section at the top (you can just run your finger along and play all the notes). Looks like they're still giving them away for shipping only: https://www.chromatone.jp/online-shop/en.html

I wrote a bit about it here: https://news.ycombinator.com/item?id=19668900

Quoting myself (no real updates since then - too busy with work):

It looks like it has an enormous number of keys, but they are linked together, with each horizontal position being a note, and 3-4 "buttons" on the same physical lever for each note. This makes fingerings very flexible. The closer spacing of the key layout means you can reach bigger chords more easily - I can comfortably play a 10th, for example. The layout is isomorphic, so transposing is as simple as shifting your hands along.

I have played (standard) piano for over 30 years, and this was immediately intuitive for anything melodic. I am far from an expert yet, but the biggest difficulty has been the lack of colours on the keys, which makes it hard to jump big intervals, or play the same note in different octaves in both hands. The lack of colours is because keys don't play a fixed note; the whole keyboard can be transposed by pressing a couple of buttons. Also, because the layout is isomorphic and they were trying to get away from the traditional note system. I am planning to try different colourings with masking tape or post-its, but I wish it had an RGB led for each key (not sure I can justify the effort of rigging that up).

The layout itself is great, and is the reason to buy this. Everything else is less great, and really shows its age (I have the newer model, the CT-312, which dates from something like 2007). The biggest hardware deficiency is the lack of a sustain pedal input, but I expect I can find a way around that with MIDI out or by rigging something up with the (toggle!) sustain button on the control panel. The sound synthesis is also pretty poor, but again, MIDI out.

The best thing about the Chromatone in comparison to all these other alternative keyboards, is that it's (1) Available, and (2) Free! They're clearing out old stock or something, so all I paid was shipping from Japan.
TSLA is built on hype, it is a good thing, but on the long-term, that doesn't mean anything.

As soon as this FED-made bubble pops again, TESLA will hit 0 :-)

It could as well go well... but then it would need proper management of resources and capital, which at the present, it really lacks.
I use Eclipse CDT+GCC+OpenOCD every day for developing firmware for some projects. It's a great IDE and I love it and I have donated to the foundation several times now. For other projects I use VSCode, and what I really miss in Eclipse it's a nice Dark Mode like in VSCode or QTCreator.

Eclipse has a dark mode but it leaves some UI elements like scrollbars as system default (at least on Windows, it means dark mode with white/gray scrollbars), and other windows/menu look ugly, for example the watch window is a sort of a table grid that has the internal white lines with dark background. Some other UI elements don't change at all and make them unreadable/unusable (black text over dark background).

I know there are plugins to do this. I've tried them all, but there is always something missing.

edit: I know I can code on VSCode and switch to Eclipse for debugging, but it brings a lot of bad memories from 20 years ago when you were editing code on i.e. Ultraedit an moved over a different program for debugging because that's what was available for some given ICE probe.
What happens when the website itself becomes unavailable?
> It is no surprise that the Taxi companies are mad, because they are unable to compete under the current set of rules.

Apart from subsidies Uber might use, why aren't taxi companies able to compete? Is something stopping them from doing exactly what Uber is doing (Such as have good apps, pre payment etc.)? If that's the case, that they are bound from developing their own business by regulation - why is that?
You'd probably have to #define "return" to call longjmp instead. Although I guess at this point you might be better off just have return call the cleanup code. You'd have to be careful to handle the nesting correctly though, which might be slightly easier with setjmp contexts.
I hope that airbnb is next.
The Joy of Perl (1998)
> It is no surprise that the Taxi companies are mad, because they are unable to compete under the current set of rules.

(Caveat that I’m going entirely off your comment, with no background info): the middlemen businesses sound like small taxi companies, where the bookings come from Uber rather than directly from customers. Why can’t the taxi companies compete by building an app that provides the booking part?
>If an industrial civilization had existed on Earth many millions of years prior to our own era,what traces would it have left

What about space based traces? Abandoned spacecrafts, which can easily remain preserved millions of years.
This not a personal attack but I would just like to my point out the insane number of weasel words/marketing speak phrases (ie intentionally imprecise but rhetorically powerful terms) in your response

>is not a silver bullet

>opens up a lot of opportunities

>accelerate their R&D efforts

>Imho

>reaching a tipping point

>gap

>starting to disappear.

This is what it reads like:

"we're getting to being able to approach the cusp of potentially honing in on the vicinity of the realization of this technology in the future"

So your entire response doesn't commit to any strong claim at all but it sure sounds like it does!

Incidentally I wonder if you're aware you're doing this or if it comes, subconsciously, from reading lots of writing that's like this.
Smart Home Set to Get Open-Source Standard with Connected Home over IP (Chip)
SBCL20 in Vienna
TeMPOraL is using the correct terminology, there's pirate taxis and there's also pirate radio, e.g. see https://en.wikipedia.org/wiki/Illegal_taxicab_operation or https://en.wikipedia.org/wiki/Pirate_radio.

It means operating without a proper license, in this case from the government. You may have heard pirate radio referred to as "stealing the airwaves", one could also say that pirate taxis are "stealing the public road space", both of which are public/shared property.

>Because, after all, by your standard this makes you a pirate.

It's not TeMPOraL's standard, it's the government's standard and the laws that matter and which make it a "pirate".
Elias-fano are overestimated without any proof or comparison benchmarks.

Like other integer compression methods, you still need offsets to small blocks for efficient random access.

Getting a single value in a block is done with slow branchy bit ops like ctz and bit shifting. That's decoding

The fastest elias-fano implementation is in
https://github.com/powturbo/TurboPFor and is partially using SIMD
> best thing to happen to transport and part-time work in decades

Being "employed" by a company that ignores laws and has zero support for their drivers ("partner" drivers as they call them) is the best thing?

> by modernise you mean "hire more expensive lawyers to sue everyone", then you're right.

A lot of local transport companies now have their own app that offers the same experience as Uber.
This is what I miss about the internet from 15 years ago.

You looked for a recipe back then you'd get a bunch of simple websites with concise instructions that made a fair amount of sense. People wrote it like an old cookbook. Wanted diet advice? Sure there were a few snake oil salesmen but the nutrition information you could find was pretty decent for those people who had put things up.

Today you have a bunch of food entertainers who have turned the entire gambit into such of an utter clown show. You can get a recipe but you'll have to wade through 10 half-page pictures of food that are completely unrelated to what you want to make and clickbait in a scrolling never-ending screen. You can find a video, but instead of it being literally someone's grandma making it with real expertise, it's some 20-something insecure chef emulating what they saw on TV. This level of FUBAR goes way beyond marketing; we have people competing in a race to the bottom.

You try to find a cookbook today, and you've got the same garbage. 90% pictures, 10% text.

"Eat this Much" is just a continuation of this trend; you aren't marketing this as a resource for me to use, if you were, it'd be named something else. The first thing I see when I visit your website isn't something useful. You've got a completely useless webapp, then a bunch of assurance crap below that. If this were a website being shown in the 90's everyone would think you're a scammer. You're marketing this to me like I'm a child and must be instructed on what to do; your brand is looking for guillable people, that's why it's marketed as an instruction, not a tool.

You're doing that because once you have people eating, literally, from your hand, you will !@#! them hard by making marketable suggestions that you will get other companies to pay you top dollar for because they are building relationships with guillable people.

The last thing I need is an app interpreting my cravings for me; It's bad enough you have food companies hiring nutritionists and psychologists to figure out what to put in their products to addict their constituency.

It's a digusting business model and pollutes the information supply for profit.
Graham's manager may also be incompetent inside a larger org that is competent. We had a similar issue in my company, and it is a thing that happens with new managers. They're not yet comfortable giving direct negative feedback so stuff festers and isn't communicated.

Nothing to say but that sucks.

This could also be a really underhanded way to avoid paying severance or unemployment. In that case, you can claim unemployment even if your company says you were terminated for cause. You'll (my experience, anyway) have to fill out a form with the state saying you were never given negative feedback. The state adjudicator will ask your former employer for copies of your performance reviews and the paper trail of negative feedback. When none is forthcoming, I'd bet you'll get unemployment. It's not much, but it's better than nothing!
Node.js vs. Python: Which one is winning it?
Clearly RDS prints money - doesn’t take a genius to realize AWS has been trying to duplicate that success with every other OSS db-aaS they’ve launched since.

Given its success, lack of pricing pressure makes sense - until users go away, there’s little reason to decrease margins.
Good ol' localroger. I never knew I wanted to read singularity fiction that included zombie rape and forced incest until Metamorphosis of Prime Intellect.

https://en.wikipedia.org/wiki/The_Metamorphosis_of_Prime_Int...

http://localroger.com/prime-intellect/mopiidx.html
As someone who has been using Linux full time on servers/desktops/laptops/embedded devices and any other computing device I've had since 1998:

Systemd is such an awesome improvement over everything that came before it. It benefits me on a daily basis. The power and ease of configuring services is so far beyond sysinit (and let's be honest, most of us weren't able to write our own init scripts back then and were resorting to stuff like rc.local or inittab anyway which were inadequate solutions).

Timers are generally better than cron. I love that systemd does all the stuff I used to have to do on my own like balancing when jobs run and preventing DST issues.

I like journalctl. I know it bothers some people that the logs are stored in some kind of binary format but the practical difference of journalctl is that logs are easier to filter in a variety of ways.

Anyway, I think making a init system would be a fun hobby too, but the world is a better place because of systemd and I am sick of the belly-aching about it.
The original link pops up with a HTTP basic authentication request for me, hence the use of archive.
Invoice Extraction Processes – Intelligent Data Capture – Machine Learning OCR
Compiler optimizations are designed to optimize code humans write (or code humans write code to generate)

The neat thing with this "optimize for size" thought experiment is that as an executable you can bundle the decompressor, & use any compression format you want. This has a lot of prior art: https://en.wikipedia.org/wiki/Executable_compression

In the table there's Crinkler, listed without any info. It's played a role in the demoscene: https://in4k.github.io/wiki/crinkler

GCC could implement an executable compressor as part of its size optimization, but it gets away from most of what GCC is. Unix philosophy, as they say
The only time I've used MyTaxi the driver drove us in a blatantly longer route to get more money out of us. I trust Uber much more.

It's a common pattern, a lot of things are backward and lagging behind the times in Germany, and so many Germans are convinced it's better that way, but they still change, just 10 or more years later.

I'll update my opinion when international debit and credit cards are universally accepted rather than needing bank cards.
There's also __attribute__ ((__cleanup__(<destructor>))) which can be used to implement RAII in C.
Well met, and thanks for identifying the solution using overhead.
Yes, that feedback isn't very useful. It was just an example. But people would be offended at almost anything these days. Not educated enough. Not skilled enough. Not personable enough. Whatever. People can't look at themselves honestly and take on board criticism, and it is making us worse people.
Ask Whovians (https://en.wikipedia.org/wiki/Doctor_Who_missing_episodes).

Post internet, most content is globally replicated. Someone somewhere will find time and energy to make an Amiga simulator with exactly correct bugs, to run the program you want. Amount of content lost proportion to amount of content created must have gone down dramatically.
Outdoor Computing with a Deck Desk
It would be even more amazing to have a TypeScript extension, as in adding more syntax so that 文言 transpiles to TypeScript first, then to JS.
Hey! I really like this concept, and I could imagine myself as a paying user for a service like this.

Some feedback:

1. I can't see any information at all about the different membership plans. It says "Get started with a free account", but there's no information about what a free account includes and what other types there are.

2. You mention Google/Facebook remarketing in your privacy policy, which is a gigantic turn-off for me.

3. Regenerating a meal while hovering over a food item causes this bug to happen: https://send.firefox.com/download/476d36ae77d82097/#0LA0xL7u...
> For better or worse Uber is seen as ‘fair’ to the drivers, at least on the whole. The rules are at least laid out,

If true, people wouldn’t be complaining about surge pricing. People just want cheap, quality, fast service. They don’t care about fair.

The transparency provided by electronic records and payment of taxi rides does lead to better service though.
Now that i think about it it wasn't a gui it was i think a tui and maybe an editor. it might be leo i was thinking of. I'm pretty sure it was leo. Sorry for not being clearer.
Except we don't, and this really is faster on several older machines: https://danluu.com/input-lag/
Of course, in C++ the need for such constructs is reduced due to RAII and scoping running destructors automatically. This is useful when you need to interact with C libraries that you don’t want to wrap in C++ (and when I was doing something like this in the past, I rolled my own as well).
Nice! I was planning to move my side project from Firebase to RethinkDB, and one of the opposing factors was that the project was on hiatus from 1 year. Now that the hiatus is gone I will definitely move to RethinkDB
I would very much prefer the so-called “shit show” to having a binary-only distro.
In my country Uber cars are actual taxis with all the permits, taximeters, yellow registration plates etc. They're no different from any other taxi company.
Santa Hat on VScode Insiders
Very interesting! If both construction and lookup need to be very fast, and if you do have enough memory, then I would say a blocked Bloom filter would be best (without knowing your use case in detail). With a regular Bloom filter, you will have lots of CPU cache misses. Cuckoo and xor filter might make sense if you can do (batch) construction in background threads, multiple filters concurrently. That way you can save memory.
Cheers I didn't know this.

I tried both in private tab and normal tab if firefox and article was still paywalled.

Trying again in Chrome did the trick.
That's exactly what this uses. It just hides it inside a syntax that is more similar to what Go uses.
Apologies, I didn't find the time to look up a specific example as none came to mind on the spot.
See, I'm not giving up on anything here. If I went vegan - hell, if my entire country went vegan, not a single cow in the entire world would live in better conditions. Same with emissions, etc. We're a rounding error.

But we have some very good politicians. If I (and enough other people) vote them into our and later the EU parliament, they will in turn vote for things like sanctioning companies for shit that goes down in their supply chain, regulating animal treatment, etc. And that might actually make a difference.

People are way too cynical about politics. Changing your life is great, but it's not what will ultimately decide the outcome of this mess. Politics is where the power lies and if a person in power does not agree with you, no amount of protesting/lifestyle changes is going to make them change their minds. Politicians are not your enemy - bad politicians are. So vote those out and vote the good ones in.
Having a monolithic approach can be advantageous but there are a lot of alternatives for that. For me linux just works. Windows couldn't sort desktop links in a sensible manner for months on the biannual channel and there are enough other problems.

True about the knowledge part, but that often leads to the adoption of suboptimal solutions. I know that the quest for absolute purity is also a problem for a lot of devs but many newer "consolidated" operating systems, especially in the mobile segment, should serve as ample warnings. Yes, those are successful, but they are also basically shit. And that is an objective assessment.
Unfortunately there is no such thing as an "init system standard".
Either a corporation or a cartel typically.
Drone Startup Flytbase Closes Seed Funding Round Successfully
Doesn't make it a less toxic place in any meaning. If somebody is such a diva they have an active presence on Twitter, there are almost always other means to connect.
Sure take it seriously, but don't trivialize the issue with alarmism. A few decades ago more information (Full name, phone number and home address) was available in phone directories. These were commonly distributed to every home with phone service.

Today we have security-expert-journalists calling the equivalent of a phone book a "verified threat incident".

I'd wager that gmail data is already available to the intelligence services of the five-eyes countries.

What does taking it seriously mean in this case? Not using Facebook? Acknowledging that data posted publicly is, wait for it... public?

To top it off the bread and butter of this blog is affiliate links to VPN providers. Another centralization of data for those seeking privacy. Not only is this contradictory, but it preys on the ignorance of the audience.

When companies sell this same data to employers it is called OSINT. When someone finds this data through Shodan and it is hosted in Vietnam they call it cyber-crime. Many times the OSINT groups are the same ones making the accusations.