skysight-inc/HackerNews huggingface dataset:
Space Flight?

100 years ago people didn't have electricity, indoor lighting, cars, appliances, dishwashers, highways, roads, airplanes, the internet, radio, film, TV, internet, mobile, GPS, taxes were 5% and the gov. provided almost no services i.e. no fire services, hardly any police, barely healthcare anywhere, maybe 3% went to University (strictly elite) and maybe 40% finished high school, running clean water (!), plumbing, voting for non land-owning men and all women, there was no contraception, abortions were dangerous and unheard of, infant mortality was 10% under the age of 1, there were no vaccines, no penicillin (~80% of operations were amputations! you could die from any wound that became infected), no insulin.

And that's just getting started.

'Space Flight' is a cherry.

The 'second phase' of the industrial revolution of the 20th century is a total 'explosion' of things happening unlike any time in history.

Sadly I think we are becoming postmodern and disconnected, cultural foundations are fraying (we will treat culture like nature i.e. 'we like it but really an afterthought'). I think we will be 'materially prosperous' in the future, but I have little hope that we will necessarily be 'great'. We'll see.
"Bring your own datastructures" is likely one of the C carry-overs for Hare. If you think about many "classic" C applications, a lot of them basically only exist around/for one or a few data structures (e.g. most servers, many utilities etc.). In that context BYODS is somewhat defensible: If you don't care to implement the data structure, why does your application exist in the first place?

But that's not "modern" applications, which often deal with a ton of data structures. C applications that do so usually have a few "template headers" lying around (indeed, certain operating systems ship with them), though one of the most frequently used data structures in C is of course the intrusive linked list. Which is not a good data structure to use in most cases. Why is it used so much in C? Because it is easiest to implement. Why does that matter? Because C makes implementing generic data structures tedious. Is it a good idea to replicate that model?

qed.
Out of all places, Hacker News misunderstanding the meaning on `.` in a number? :) Every single programming language uses a dot as a floating-point separator.
Hardware-based efficiency stuff seems to be the future.

This whole idea that we need light and simple software to be fast doesn't quite we need software that takes fullest advantage of hardware.

I bet we could do a lot more with this idea. We could have dozens of tiny cores, without any math beyond addition, for things like regexes and file format parsing.

We could probably fit stuff like small AIs and video codecs on SD sized accelerator chips if we really tried.

It will be cool to see how far they can take this.

It will also be really cool to see how we program for this kind of thing, to really make the best use of it.
> and practically lost our right to vote because of how the voting system is designed

Yet, I voted (abroad) in the last elections just fine? You do have to register early nowadays, whereas it used to be trivial to cast a vote previously, but I'm genuinely unsure what you base a claim such as "we practically lost our right to vote" on. In addition, several democratic countries disallow voting for expatriates (e.g. Ireland de jure / Israel de facto).

> This allowed Orban to get authoritian power that is now undefeatable.

At no point during the last few decades have elections been swayed by votes cast outside of Hungary.
As usual, it depends. Imagine a team that sat in one room, communication was terrible. People never had time for questions. Queue the pandemic and everyone working from home and suddenly communication improves tremendously, people who you'd have to pester endlessly for a review or ask about some code they wrote suddenly answer the same day. Your team lead is not on the phone in the room where you're trying to work.
In my view you can't have it both ways - if you want efficiency it's not reasonable to expect to be able to hand edit the data in a text editor. Especially since at the scale that efficiency matters your text editor is going to struggle.

If you don't care that much about efficiency then CSV, JSON, XML all provide perfectly good solutions and they're actually more easily editable in a text editor than what is being suggested. It's also much more sensible if you are hand-editing tabular data to just slurp it in to a jupyter notebook and do the edits there and shoot it back out because it means you've got a straight forward record of what changes you've had to make and can re-run those changes at a click of a button.
That didn't even mention GitHub. It was a generic message about security
Relative to gmail, I don't agree. The last time I loaded gmail in the web it took 30 seconds to load and the UI was full of so many non-mail related icons and things. I usually give up and load HTML view.

I saw ~1 second load time and <1 second to change views. For UI I like the minimalism. Although I won't use this, I want better native mail browsers, not web clients.

What load times are others seeing?
> Now spread that costs over a proper lifetime, calculate in the costs of storage and/or variable demand backup and the adjusted distribution infrastructure and don't ban things like fuel reuse technology to reduce waste at the behest of fossil fuel industry and it looks a lot better.

The link I posted is from the US Energy Information Administration (EIA) published the Annual Energy Outlook (AEO) which uses LCOE. It doesn't include hydrogen/methane storage but we are talking 3 times the cost which leaves a lot of room to come out ahead.

> Is this in Arizona and the likes? I feel like America really need to get it's head out of it's ass and dis-incentivise living in deserts with water problems to boot as well as some other common sense things. The CO2 output per capita being twice that of the EU and a bunch of other countries and that after a whole lot of improvement on the US front makes it clear this is not just a developed world thing but rather that some core issues are not being looked at.

Um, like almost everywhere? Honestly, west coast places like SF/LA are pretty unique in not having as much variable temperatures. We definitely get heat waves here in the midwest and it is definitely not a desert.

And now that I think about it, if we are truly to decarbonize that includes heating and heat waves [0] would be childs play compared to polar vortexes [1]. Good luck building enough spare nuclear to heat the entire continent by 40-90 degrees.

[0]: https://cw39.com/wp-content/uploads/sites/10/2021/06/NATL-HI...

[1]: https://mashable.com/article/polar-vortex-2021-cold-temperat...
What’s right for today’s CPU is horrible for next year’s in those terms - and also the other way around.
The Chromium-based Edge is pretty awesome. Have to give it to Microsoft for making that choice.
So more of a didn't work for you situation, that makes sense, thanks.
Grace periods tend to be shorter for companies with a high likelihood of defaulting due to say the threat of international sanctions.
Often significantly more indented.
It's a good point. I think the book means it in a slightly different way to that, but Let me think about it and try to relate it to what it says in the book.
Gmail OAuth2 service accounts with EmailEngine
I don't know Go so I couldn't compare. They're different concurrency paradigms that make sense to me.
That reminds me that I had to reimplement basic hashmaps in C at least three times in my career. What a waste of time.
Where should email client developers be looking for inspiration?
Recently been using it and have been happy with it. Being able to plug some of our existing providers in and have one solution to integrate with has been the big win.
Exchange of anything that can get you goods or sevice, I will term that as currency for laymen terms. A kilogram of rice can be currency. Back in the days, people used beads/rare stones/sea shells for trade after the barter system. Now we see USD as a global acceptable currency and other local currencies limited to a country.The starting point for me to believe in Bitcoin or any other crypto would be when I can pay my taxes with it. Some would say, with this approach one would loose the value/wealth creation opportunity. But for me and many like me, atleast crypto right now is not an investment option to go all in.
My prediction: Bitcoin will someday after ETH2 merge happens everyone will see PoS is better. ERC771s and the entire backlog will release and suddenly bitcoin will show its age and money will leave because btc is not a good investment unless you got in early.

Later after the market has moved, bitcoin will go out of fashion, it will fall to a hashrate attack attributed to lack of use & disinterest.
So it's gambling, same as buying shares in Tesla.
I’m not sure I can even make out what argument you’re trying to make, but let’s go.

Nowhere in the article the author claims web components is a great choice for everything. He works on DevTools, which is not a website, and 100% js already. Seems like a perfectly ok choice.

> be annoyed to write a lot of imperative code to add a modal

I’ve recently added a modal system to a react app using react-aria-modal, and no kidding, it took over 1000 lines of code* to get it working, following their guide to the letter. Later, out of frustration, I reimplemented the same feature using Svelte (which lets you get much closer to plain JS and HTML), with the same features and aria support, in a couple of hours and 10x less code.

> it's inevitable that you write a poor-mans version of React… it came from the real needs and desires of developers

React uses a very specific architecture of VDOM, stateful components, hooks etc. There are plenty of alternatives, including well developed “poor-man’s versions” like Preact, hyperapp or SolidJS.

It seems you’re under the impression React is some kind of universal solution to all frontend apps, developed by “the people”. It’s just a framework, developed at facebook, born from the evolution of their existing server component system. It works, feels nice for small apps, I use it along with a million other people, but it’s not a panacea, and it’s sad that a lot of people simply dismiss everything else before they’ve had a chance to actually understand the trade-offs.

* id say it’s imperative code too - calling hooks in the correct order, passing data from one to another, telling react what the dependencies are, updating and transforming values
That's the thing though. Things like SARS and MERS still exist in the animal reservoirs and could come back at any time. It never hit pandemic or even endemic levels. It's easy to eradicate something in a small geographic area with a small group if people. And you're right, the severity made it much harder for infections to be missed (I think it was less contagious too).

I was just saying that now something has hit pandemic level, it's unlikely we can make it go away. If we're lucky it will end up like the Spanish flu - people build immunity to the current strain during a few years and it mutates to something less severe.
Would be really curious to understand the degree of vendor lock in here. Not an area I'm familiar with but seems very interesting... what alternatives exist beyond DIYing your own infrastructure?
Digikey itself does a bit of this. So does Mouser, and it's a main feature of octopart.

Go to any part and there is both a short list of aka or substitute part numbers and a few links to likely alternatives.

The links aren't always good sibstitutions. Sometimes they are, but sometimes they are only very general alternatives where it does the same nominal job but you'd have to change your design to use the other part, sometimes they are merely related or associated in any sort of way like on Amazon. Maybe it's the mate to the connector you're looking at or the pin that fits in a housing, maybe it's an alternative, maybe it's just frequently ordered together for who knows what reason.

But if there's an aka list, that will be mostly a good drop-in substitution list.

Go for say a max3232-alike from anyone, and the aka list will have several good drop-in replacements from different manufacturers with totally different looking part numbers.

You still have to vet them yourself because some might be the wrong voltage or package. And you definitely have to check whatever fine details you care about like if you're trying to go for lowest possible power usage or highest possible temperature range, the substitutions will include everything not just the ones with the same lowest possible idle current that's a few uA less than usual like the one you had picked out.

They obviously have an extensive db in house with columns for all kinds of propeties, and some code to make meaningful matches and substitutions where there are sensible subsets of properties being considered vs ignored.

I think it would be totally abusive to their site to write something that scrapes it, or octopart etc.

There would have to be a community built db like that. The code for finding intelligent matches probably wouldn't be too crazy. A list of which properties are significant for a given part would just be part of the data on that part, and then it's pretty straight query on that.

A ui in a find-subs tool could even let you select/unselect properties for consideration, since what constitutes "significant" changes for each job. Sometimes even different package sizes are ok with you because for a lot of parts it's possible to draw a single footprint that can accomodate multiple different versions of the part.

But even with something like this, most jobs are doable an almost infinite number of ways using whatever parts you have access to. If you don't have one resistor anywhere in the world, you can use 2 others in parrallel, etc. The same job got done with no 1:1 substitution at all.

To be really useful there would need to be something quite a bit more involved. Where you would have to feed in your whole schematic so the the tool would know that this resistor isn't just a resistor, but the bias input to a transistor, and if you need change the transistor and you can't find a simple exact match you can find some other transistor AND a different bias input together to produce the same outward effect as the previous 2-part block. Let's just say "non-trivial"
It is the technology behind the success of ...

Here, I saved you a click.
What's the problem? People will just use libraries. Why does it need to be part of the base language? Seems like that made C++ quite a mess in fact, while NPM-like ecosystems have done well.
Anyone remember Lego’s Spybotics? It was a hacking themed flash game. So many hours spent on it, it was one of the first flash games I played and was fascinated by how cool it looked.

I’m not sure if I went to pogo.com to play it or not.
David Walden has died
lets see:
1. VK (Vkontakte) - Miralashvili, part of REK, friend of Sobchak and Putin :)
2. Wildberries - under patronage of Rosnef from the start.
3. Magnit - Galitskiy told from the beginning that he had to have a relationship with the government.
Lazy Guide to Net Culture: NSFW (2004)
> but better than catfish.

I challenge you to a duel, thems fightin' words. Fried catfish is one of the greatest things on the planet (mind you not terribly healthy).
Genuinely not snarking, but isn't it just 'advice'?
I remember a distinct evening where I got in trouble because I was at a friend's place and playing Super Mario Kart on the SNES for too long instead of coming home. Had we had an opportunity to play online it wouldn't have been a problem.

I don't really know, I am old enough to have experienced this, and LAN parties in the late 90s were indeed fun, but they took a lot of planning, expenses, and parents driving you there. I've been online since I was 15 and when we finally didn't have to pay by the minute everything was a lot better. No more coordinating for a full weekend, etc. That said, I have zero negative memories of splitscreen, except that the person who owned the game/console was always a lot better due to more practice...
America's influence in Europe is much stronger than Russia's. Besides NATO, the US has set up all kinds of NGOs that are very influential, such as the Atlantic Council and the German Marshall Fund. When that soft power doesn't work, the US is not afraid to use sanctions to coerce European countries: see US sanctions against Germany over Nordstream II, or unilateral US sanctions that prevent European companies from doing business in Iran.
CPUs use much less power while idle - if there are too many idle CPUs, that's either because the datacenter is not efficiently managed (e.g. machines are always on regardless of load), or because the standby capacity is needed at short notice.
The examples translate Go idioms directly to Java code rather than using Java idioms; you wouldn't normally write Java like Go any more than you'd write Go like Java.

They also make use of constructs that are overkill for such simple examples. For example, the first example could be written as:

Thread.startVirtualThread(() -> say("world"));
say("hello");

which would also replicate same concurrency bug as in the original Go program (the Java example, as written, does not have that bug, but neither would

var t = Thread.startVirtualThread(() -> say("world"));
say("hello");
t.join();

).

Go makes certain concurrency bugs easy to introduce and hard to find, while Java helps avoid them, but that is also not easy to see from these particular examples.
> GDBM, Kyoto Cabinet, etc -- Useful if you are programming in late 1990s

Hold your horses:

https://charlesleifer.com/blog/completely-un-scientific-benc...

While I would never consider GDBM for any new project, I wouldn't dismiss its performance for small/locally accessed data stores.
Using Keycloak for all authentication both in the cloud under Linux and within Windows Enterprise Environments. Use it for SSO for Node-RED, Grafana, Aspnet & VueJS apps. Was fairly easy to move from Auth0.
Most recommendations use the assumption that the user's need is the same at every point in time. This is why it doesn't work most of the time.

I think it's strange recommendation systems don't ask more about the context.

The answer to 'How do you feel today' can result in a total different playlist.

Or a python programmer who also likes snakes might want to set the context before a search (in DDG you can).
I think what GP is asking is “All sorts of articles get nominated for deletion for spurious or incorrect reasons, and this isn’t a problem unless other editors agree with the nomination, so I don’t see a problem here. What am I missing?”
TreeMap as a fallback for bucket and/or some king of random salt for hashes had to be introduced due to security issues (DoS) - I doubt anybody would remember about such stuff when making own hashmap implementation.
> And the design of the Hare language doesn’t even allow me to provide that as a library. I have to fall down to code generation at best.
> Mice, keyboards and printers have been wireless for ages.

Doesn't necessarily mean they use USB-C though. Logitech's Unifying receivers are still (sadly) reliant upon USB-A, although someone modified one of them to use USB-C instead[0] :-)

[0]: https://www.youtube.com/watch?v=V-vFtiDYiIw
There was no mention of remote jobs in the article. I also gave their careers page[1] a look, and found no remote offers at all on the Digital/Engineering areas.

Maybe I missed something. If I didn't, as someone who is currently struggling to hire software workers right now, I will say those numbers sound ... optimistic.

[1] https://www.lego.com/careers
Something this 32-year-old Millennial has been wondering for the past 15 years since I first took notice of this avocado toast genre of journalism crossposted to places like Metafilter: does the NYT only cover intergenerational conflict within the confines of ultra-trendy startups? I can't relate to any of these people nor could I imagine myself or my collegues at any of the places I've worked across the country ever engaging in any of these conversations.

For the record, most of the 37-year-olds I know who didn't go to work in comp sci, engineering, trades, or medical device sales have been in more or less the same sort of career purgatory since 2009 that Gen Z can look forward to in their immediate future. In a way I envy them because they get to skip the emotional rollercoaster of starting from a position of hope and lofty expectations. I think.

I know for sure that the 59-year-old executives calling the shots at the biotech company I work for aren't afraid of the 37-year-olds or the 23-year-olds, as it's long been made clear that everyone is equally disposable.
The things that I have seen over the last two months (a lot of social media coming out of Russia, street interviews, phone calls, public statements) make me believe that Russia is completely different than elsewhere in the West.

The number of people who'd be easily willing to just murder a bunch of people for an invented reason is much greater than elsewhere.

Americans can get 'nationalist' but they are absolutely not like that, beyond a smaller group, Americans are by default positive and gregarious.

I believe Russia's dark past, their permanent oppression, total lack of hope for something to change makes them amenable to this. Basically, institutionalized cynicism.

I believe that even Putin himself, former counter espionage is the most cynical it gets, like Machiavellian without recognizing that 'hope and prosperity' are actually legitimate things. He sees everything as a cynical game of power. The Americans 'can't possibly be acting in good faith' because 'there is no such thing as good faith' - but even worse - not even knowing what 'good faith' is because he's never been exposed to it. 'People who smile are fools, unserious, they can't be competent!' etc. not able to just recognize a basic common joy.

The contrast between attitudes and motivations by Ukrainians these days is just unbelievable, which is interesting because despite historical similarities, it's almost as if 'modern Ukrainian identity' is formed out of the hope that arises when coming out of that rubble. Even regular Ukrainians, farmers seem to be on a different wavelength.
Awesome library. I used it back when it was named Vx with react-spring and d3. You can’t beat this combo.
The entire post is a reply to [1], which mentions the exact code the OP criticizes. Drew said "Hare doesn’t provide us with a generic hash map, but we were able to build one ourselves in just a few lines of code", but the OP demonstrates that hash map is incorrect.

[1] https://harelang.org/blog/2021-03-26-high-level-data-structu...
To be fair, you did the same, hence my defense specifically of anti-car thoughts. I very much agree that this isn't a dichotomy.
Yeah, I kind of understand what that comment is saying but also feel like it can be interpreted in so many different actual ways that it's practically useless.
The problem is that you can't properly implement data structures for a statically typed language in libraries without some kind of generics. You can try with explicit casting to void* or whatever Hare uses, but that comes at the cost of type safety.
Heard from a friend they’ve had trouble recruiting, as they pay well below market rate. Anyone know of any updates on that front?
The primary reason I prefer working in C++ over C is that, for all of C++'s faults, it ships with a solid collection of containers and algorithms in the standard library. unordered_map may suck compared to other implementations, but it's a vast improvement over linked lists or home-grown hashmaps.

Anyone can write a hash map, in the same way that anyone can write an HTTP server over a weekend. Doesn't mean it will be production quality.

Glibc's obstack doesn't count, it's non-standard and the only type it supports is (of course) void*, which is a bad interface.