skysight-inc/HackerNews huggingface dataset:
I get it, in 2009 smartphones weren't devices that everyone owned. But I still find the myopic obsession with "techie" approval as a harbinger of success pretty narrow-minded. People didn't like the iPhone in 2009 because programmers liked it; people liked it because it felt like (and was) a revolutionary product!

> They're so attracted to the iPhone that they can't leave. But they're looking for a way out.

I know hindsight is 20/20 and all, but there's a much broader point that could have been made here about "what happens in a world in which entire software distribution chains are at the mercy of one or two megacorps?" Now that would have been a remarkably prescient gripe, and a much more accurate guess at the "mistake" Apple was making (if you can call the current backlash a "mistake"?)
I'm on and off spending some time on a (probably) completely useless and really bad idea: a filesystem based document "database" with very basic indexing capabilities, in nodejs.

It sounds so horrible, I can't get my mind off it! :P
It's tricky but it is possible, if we:

1. Don't allow any undefined behavior or `unsafe` code in the language.

2. Record all inputs from FFI.

3. Carefully track the orderings of interactions across threads.

The article goes into the first two, but the third one is the most interesting IMO:

When we unlock a mutex or send a message, we assign a "sequence number" (similar to what we see in TCP packets).

Whenever we lock a mutex or receive a message, we read the sequence number and record it to this thread's "recording".

When replaying, we use that sequence number and that file to make sure we're reading in the same order as the previous execution.
It worked in the sense that Russia secured Crimea without serious consequences.

When an authoritarian lies with impunity, that is a triumph for the regime, not a defeat.
A professor of mine once told me about when he was in school he studied a book written by a famous expert in the field and found a bunch of errors. So he wrote back to the author with the error and, after some back and forth correspondence, the author offered him a job after graduation. So that was how he first got his foot in the door in the field.
Now it works perfectly. Thank you for that shortcut
I’m actually interested in testing this scenario, a drive getting power loss. Is there a thing which will cut power to a server device on command? Or do you just pull the drive out of its bay?
That sounds a lot like it worked last time.... Not saying it'll work this time, just pointing out the pikachu factor is high here
I'm unable to reproduce. Increasing the number of iterations to `1000000` and using a temporary variable `c = counter + 1; counter = c` doesn't help either.

Why ? I'm on Linux, using Python 3.10. It's only happening using Python2.7.
In web/gui programming it’s a good fit. Your data is a tree that you render on a screen, so it’s by default relatively shallow and not very big. It’s never going to blow the stack and the benefit of using recursion, closures and functional composition is you get clear, dense code and tend to make fatter data structures and more general code.
Not sure if you didn't understand or you're being deliberately obtuse to make another point. Of course the implication was that the USA can still thrive even spending that money, a pittance compared with public expenses in other areas.

I don't share all the points of the originator of the thread (was it coldtea?), you might find interesting which ones I didn't mention, but some of them are a good idea even from the point of view of more affluent people.
Only men allowed, is that a product of the colonial culture that created it, by chance, or a later added rule? It's interesting to note all the impacts of colonial rule by Muslim Arabs over Spain. I've always wondered how much of Spanish colonialism is an emulation of their colonization by Arab Muslims.
Yeah, but there's no reason to think some weren't stacking up on his desk and managing an agency successfully working average contracts wasn't what he was after.
So do I - the parent is choosing to compare the most basic example which didn't show the benefits of using an orm over raw sql
So, what do the citizens say about it? People who actually live there, are there any reliable polls regarding their preferences as to which country they prefer?

Edit: No idea about Lugansk, but for Donetsk Wikipedia quotes some polls from a couple of years ago, and they seem to noticeably favor Ukraine (https://en.wikipedia.org/wiki/Donetsk_People%27s_Republic#Re...).
What happens to Microsoft if American companies are prohibited from doing business in Russia? Maybe Russia will end up with their own mobile and desktop OS?
The last decade or so hasn't been enough an escalation path?
"I feel like we have so much leverage and don't use it at all."

Devs might have leverage. But in terms of actually contributing to the success of their company, the data seems to suggest otherwise, as far as their importance is involved.

It used to be all about technical talent and product excellence. But dive deeper into reasons why tech companies fail today, and you will see all points to Marketing. Not really in sense of Advertising/Acquisition, but Marketing and Business Strategy as whole. Research, Positioning, Model, Pricing, etc..

Basically more than half startups fail because they are building wrong product for wrong market (Marketing). Less than 10% companies fail because of issues with the tech side. I am not saying devs are not important and that there aren't big differences in the quality and speed of their work, but wouldn't go as far as claiming some sort of god-like status when devs are not really where the future of the business is decided (unless it's some extremely unique technology involving product, most aren't). As Brian Balfour says, the game has changed, it's all about distribution now.

That being said, I wouldn't tell a dev how should their do their job. I can only lead them in terms of what we should be working on, what part of product or what feature, but how exactly to code it? Well that's of course up to them. We don't really micromanage in our company. We just all sync on priorities and then trust each other to execute as per everyone's best judgment. But yeah, we're a tiny company.

That in a sense could be an advice, go work for a startup. Corporate micromanagement is a choice. To be honest, in a larger organization, I would be probably micromanaged too, even as a non-dev, and I would fu*king hate it. Don't think devs are special in this. Not like managers understand Growth and Product work either.
The renewable build out is what I would imagine is one of the causes of this, besides the geopolitical and keys to dictatorship angle.

Within 5 years, 10 years at most, Europe will have transitioned far enough to renewables that energy is a lost cause as geopolitical tool. Then Russia truly is screwed.

Some of the former countries in the Soviet bloc which more readily faced this issue of Russia trying to extend it's sphere of influence to them they already solved it through more costly means.

Lithuania and Poland did not build LNG terminals because they provide cheap gas, they built them as a costly hedge against Russian use of gas supplies for political purpose like seen with Ukraine in 2005, 2007 and 2009. Which people seem to have forgotten.

https://en.wikipedia.org/wiki/2005%E2%80%932006_Russia%E2%80...

https://en.wikipedia.org/wiki/2009_Russia%E2%80%93Ukraine_ga...

https://en.wikipedia.org/wiki/Russia%E2%80%93Ukraine_gas_dis...
This kind of a very short-term thinking is what brought us here. In the recent history: look at how "effortless" the Crimea invasion was for them and what they did a few months later.
They will certainly use this chance to bring even more military there and no one around will be more safe than they are now. Would you call it a "peace"?
I've gone from being sad about Firefox, to disillusioned, to actively hostile. As in, their incompetence is a greater threat to the "open web" than a Blink mono-culture in that it's sucking the oxygen out of the room (in terms of dev time and mindshare) that would be better spent elsewhere.
separatists are “fair” peacekeepers?
> now recognized as sovereign states.

By one country: the one invading Ukraine and annexing them.
A positive feedback loop. Buy place, use money market corporate funds to buy, rate 1% or so....rent it out, yield = 3-5% Repeat 10,000 time over every month until you have all of everyone's $$ - in truth it will not get that far.
Tax the business of buying a property and renting it as an annual property tax. They also charge light, heat, water, condo fees to the tenant, so you need to ramp this down before it ruins the economy. It is an inverse parallels to the huge inflation in Germany in the 30's that ushered in the Nazi's
import Russia
from Ukraine import *

regions = [ Crimea, Donetsk, Luhansk ]
while Russia.gas_flows():
region = regions.pop()
russia.annex(region)
As an EU citizen I want an immediate ban on fossil fuel imports from Russia.
> I do not know whether good macro-assemblers existed for 6502

They certainly did. I don't know about the communities that grew around Commodore, Atari, or other 6502-based computers, but in the Apple II world, there were multiple macro assemblers available. Possibly the most famous was Merlin. As a pre-teen, I used the Mindcraft Assembler. Mindcraft even sold another product called Macrosoft, which was a macro library for their assembler that tried to combine the speed of assembly language with a BASIC-like syntax. The major downside, compared to both hand-coded assembly and Applesoft BASIC (which was stored in a pre-tokenized binary format), was the size of the executable.

Edit: Speaking of simulating a more powerful CPU, Steve Wozniak implemented the SWEET16 [1] bytecode interpreter as part of his original Apple II ROM. Apple Pascal used p-code. And a more recent bytecode interpreter for the Apple II is PLASMA [2].

[1]: https://en.wikipedia.org/wiki/SWEET16

[2]: https://github.com/dschmenk/plasma
Parroting obvious government horseshit with a straight face is part of the job of news organizations. They don’t call the US/UN puppet government in Somalia or Libya puppets either. They call them UN approved transitional governments.
Well, the best way to get very high speed rail is to abandon the pumps and tubes entirely and do it in open Air, e.g. Maglev. You won't see any significant energy efficiency gains until you get to pretty low pressures, and even then that will be entirely compensated by the effort of pumping out air if you can't maintain an excellent seal.

Basically, the only energy efficiency can come from the seals, since those essentially allow you to store the energy spent to move the air out of the way of the train ahead of time. Otherwise, whether you move the air by pushing the train through it, or move the air by pumping it out in front of the train, the total energy expenditure will be similar.

And again, the problem of maintaining even a somewhat low pressure in a hundreds of kilometers long above ground tube with no airlocks is well outside our current engineering capacity.
Modern SSDs, and especially NVMe drives, have extensive logic for reordering both reads and writes, which is part of why they perform best at high queue depths. So it's not just possible but expected that the drive will be reordering the queue. Also, as batteries age, it becomes quite common to lose power without warning while on a battery.

In general it's strange to hear excuses for this behavior since it's obviously an attempt to pass off the drive's performance as better than it really is by violating design constraints that are basic building blocks of data integrity.
Thanks. You got it.
> It would scare some old fart or two, but this is 2021. Everyone can see that the European Union even cares for your private data, unlike the US.

Brave browser not invented in the EU.

Can the EU even enforce GDPR effectively?

https://brave.com/dpa-report-2020/

> Dear old-fashioned Americans: your lifestyle based on being spread over and using the car for everything will die. Get over it. Having populations being too spread/sparse over it's an economical and environmental disaster. It may worked in the 19th century, not any more.

Absolutely nothing is going to stop Americans from building houses and living anywhere in the country that they want. The environmental impact of having a few kids is an order of magnitude worse for the planet than people living in remote areas. If nothing is off limits perhaps you should look inward.
Isn't this reasoning what the word "alleged" is for? Also not found in the article.
I quite like the mocking in ceedling.
I don't know how people think increasing population density and being dependent on crowded public transportation is "healthy urban style". More like "factory farm".

I've visited parts of Asia which are like that, and beyond the brief feelings of novelty, the dystopian atmosphere became evident. Nope. Do not want.
That first instagram photo of Ali has almost a surreal nature to it. Is it just me or did they somehow photoshop his features to be smaller and his face bigger?!
Ah sorry I misread your comment, I thought you were agreeing and saying that filtering by a relational field is also unacceptable DSL.

Thank you :)
I think it's important to show students how to think about languages as a set of tools. OP's post stabs at this quite well, with the "Languages are less important than you think" section, and as someone who has already jumped across 5 or 6 languages over the course of his just over 10 year pro career this definitely rings true.

I think it's fine to bag on languages like Racket, but a good engineer should be able to hop across any language and at least be able to read and understand what they're doing.
> News related to this a few days ago got me thinking that people who want the US Supreme Court to ratify "sensible" mandates and orders coming out of the Executive Branch even if they're legally sketchy should perhaps be careful what they wish for.

Please explain how science-supported public health measures to control the spread of a deadly infectious disease are similar to imprisonment of a group based on their nationality because they were assumed to be helping the enemy during a way.

You just compared antibiotics and the fear of eclipses.

If institutions can't tell these apart they have already failed...all of them.
It still has to be powered..so the gas-burning thing is a bit disingenuous.
John Conway: The Free Will Lectures
What money were they promised? The article I read said they were hired on commission and zero clients were won.
People donate to a protest when they believe what they stand for, like being against mandatory vaccination, not when they made sure that every protester is following the law

Besides how can a peaceful protest be unlawful? I hear that in China when protests are "unlawful" when they disagree with the great leader
> You know in most countries like Canada, where healthcare is actually a public cost centre,

Good point... except that the policy makers aren't paying out of their pocket. It's public money either way. They'll take whatever option helps them in the short run because if they don't, someone else is willing to take that money and bring them down in the next faux election.

You might want to look up what people who are actually putting money in it think. Hint: "pfizer stock price".
Russia knows exactly how to play this game though, especially with the cooperation of China. They know Germans, in particular, would rather give up all of Eastern Europe than risk harming their own economy.
Perhaps you work in a culture that does not have this limitation, but, in the US (a country often criticized for being work-centric), a 10 minute meeting that accomplishes anything meaningful at all is virtually impossible. In fact, the more often people meet, the more banter that crops up.

Anyway, you have something special at your company that I’ve never seen. Cherish it.
Nuclear power plants have been shutting down because the companies that run them can make power more cheaply with wind and solar, not because of "anti-nuclear campaigning."

Wind is the cheapest way to make power, with solar being a close second.
That’s interesting. I’ve run into this a lot online. Its obvious in retrospect but often taken for granted that people can have such diverse experiences that really influence our opinions and views of the world.
It doesn't really explain why we will have no privacy.

I get why you might think that based on today's world, but this world seems deliberately utopian. Although it claims it isn't.

The vision seems incoherent in that respect. It can't seem to decide if it's a utopian vision or a vision of where current trends are taking us.
This is a personal message and off-topic for HN, but I didn't see any contact info in your profile and decided it was worth a public comment. There's a chance I'll need a freelancer to help with some (IMO fun) work that needs to be done (company info in profile). If you're interested, we should talk more. My public-ish email address is in my HN profile, although I get a ton of email there so if you email me please reply to this comment and let me know so I can look for it. Alternatively, Keybase.io (also in profile) is a good way to contact me if you already have an account (or are willing to create one).
I'm reminded of the SlateStarCodex post that mulls over the difference between "real" ADD and just having totally ordinary (but pretty great) difficulty focusing on the exact same boring crap on a computer screen day, after day, after day—especially if, in the latter case, a lot of the people these folks are comparing themselves to, when deciding that they might have ADD, are already on ADD meds (or coke...) for exactly that reason.

If our society needs 1% of the population to be accountants (to pick an example) but only 0.1% of the population either have incredible focus abilities or don't find accounting brain-meltingly dull, then at least 90% of accountants are going to feel like they have a lot of trouble focusing at work. Once enough start medicating (legally or otherwise) it's gonna feel to others like they really do have a condition that most don't, but they both kinda do (in a practical sense, they do need to focus better to keep up with their peers) and kinda don't (in that it's sort of our society that's sick, not them—they're just acting like most people would, in that situation).
Live in the pod, eat the bugs, own nothing and be happy!
Python 2.x is unsupported and anyone using it should operate on the assumption that whatever bug its got is final unless they're the one who is going to fix it.
David Brooks in shambles
I've listened to the discussion in Russia's Federation Safety Council where Putin, heads of government, parliament, security services, army has been discussing recognition of Donetsk & Luhansk

There's one important point that has been explicitly mentioned (if I'm not mistaken, by Medvedev)

"We got sanctions after operation in Georgia in 2008, but some time has passed and they started talking to us and working with us again"

Their expectation: an offence against a neighbouring country generates not more than some sanctions that would be removed soon.

It has worked like this in 2008. Why wouldn't it work now?
Micron/Crucial is the 3rd largest manufacturer of flash memory, most of the other brands in your list just make the PCB and whitelabel other flash chips and controllers (perhaps with some firmware customization, but they're usually not responsible for implementing features like FLUSH).

Toshiba/Kioxia is another big one, but they're based in Japan. The US brand could be Intel instead of Crucial, I suppose.
No.

The moon takes up about 1/100,000 of the night sky [0].

In excellent conditions you can see maybe 5,000 stars [1]. So on average the moon is blocking 0.05 of them.

It's surprising how small the moon is in the sky, given its prominence, and how few stars there are even on the blackest night.

Now correct for the fact that you won't have perfect viewing conditions everywhere in your survey area, and that you can make out far fewer stars when the moon is full, and a few opportunities a month starts to look reasonable.

[0] https://www.quora.com/How-much-of-the-full-night-sky-does-th...

[1] https://skyandtelescope.org/astronomy-blogs/how-many-stars-n...
Great idea! Too bad we have this country called Germany that depends on it.
>But if you knew power was failing, which is why you did the ^S in the first place, it would not just suck, it be worse than that because your expectations were shattered.

The only situation I can think of this being applicable is for a laptop running low on battery. Even then, my guess is that there is enough variance in terms of battery chemistry/operating conditions that you're already playing fast and loose with regards to your data if you're saving data when there's only a few seconds of battery left. I agree that that having it not lose data is objectively better than having it lose data, but that's why I characterized it as "not a big deal".
Just paying the fine doesn't allow them to keep the status quo.

This is a nice article [1] about what the ACM is asking for and why Apple is making an effort to comply.

Also, this lawsuit is for dating apps specifically, but should pave the way for other categories to follow right?

[1] https://www.theverge.com/2022/2/14/22917514/apple-netherland...
Europeans need to proudly wear jackets indoor for a winter to really show some consequences