skysight-inc/HackerNews huggingface dataset:
My prediction: pairing AI with high-resolution satellite data will allow us to find untapped reserves of high-quality timber in the Amazon basin, enriching the local populace and the wise investors who get in to this metatrend on time.

But seriously, this list reads like an eerily accurate vision of the corporate hellscape that is to come.
I can't tell if the author is genuinely naive to the effects of near-perfect surveillance and profiling in the hands of governments and megacorps, or if it's just dressed up in pleasantries because there's money to be made there.
It's a known long-term-battery-health issue. The catching-on-fire part is not normal.
With a bit of luck it does seem some of the more reasoned voices are winning out, at least in some of the areas I've seen, and rationally I know this stuff didn't appear out of thin air so time will tell but I'm hoping to see a more back-to-the-roots approach continue to grow.
Ask HN: How to efficiently import Excel/CSV files
I have this recurring problem at my startup that I'd like to solve.

Our clients give us an Excel/file and I need to
1) match the columns
2) clean up the data
3) return errors (if any)
4) import each row into my database

It's very difficult given that so many things could go wrong. I have already invested a lot of time in building a file parser with column matcher but the results aren't there yet.

Do you know of any API / widget that would allow me to offer this on my website with minimal code?
I see what you mean, but the SPM number is very easy to track, those rocket launches, much less so. Maybe with a mod, there was one but it died with the new Factorio upgrades a long time ago.
Good point. Apple dominates a unique workload mix brought on by the convergence of mobile and portable computing. They can benchmark this workload mix through very different system designs.
Didn’t see this before posting my sibling comment, so I edited it to replace the Free download link https://anuke.itch.io/mindustry with a paid Steam one :)

(not affiliated, just biased to “shill” Free software :))
GM cars don't need wifi. GM pioneered the connected car via cellular modems through their OnStar program since 1996...

Question is how much of your vehicle software do you expose.
The other thing to consider is failure modes. If a corporation misallocates resources, it's the shareholders that are footing the bill. Corporations make mistakes and go out of business all the time. If you apply this to the entire country, you end up with the the whole country footing the bill for policy mistakes. It already happens to an extent in capitalist systems (eg. lobbying by special interests), but centrally planned economy on a national scale will only exacerbate it.
1050 Ti is a high end graphics GPU...
lol game theory what a load of crap.

It really varies by jurisdiction. It is common in many european countries to have government-run archaeological services that pay for work on residential property, and charge companies at cost (as noted in a prior comment). In north america it is more commercial, and is generally associated with construction and contractor work, with lowest bids winning contracts. This is all traced through zoning records, and is factored into land taxes. Big companies tend to prefer to have all their ducks in a row, since its actually a highly competitive market and costs tend to be pretty low, keeping in perspective the revenue that will eventually be generated. Fines tend to be quite high for companies that neglect to do proper investigation, though arguably not high enough. But if it is on a residential property then there is literally no reason to not undertake archaeological investigation if the government will pay for it.

Also you're missing the fact that this occurs in multiple phases, with thresholds for work of varying intensity (these thresholds are often arbitrary and nonsensical, to appease land developers, who hold lots of power on the process, depending on jurisdiction). For example, a surface survey that yields considerable results would move onto a test trench phase (literally a few 0.5 x 0.5 x 0.5 m holes) and if that yields considerable results then you move onto even more extensive results. If human remains are found, then all bets are off and a really intense excavation occurs. Generally speaking, it's not a zero sum game.

There are certainly egregious cases where sites are knowingly destroyed. For instance, when rio tinto destroyed a 46,000 year old site in australia. There were consequences, but this only demonstrates the need for even more regulation, not less. https://www.npr.org/2020/09/11/911866159/a-mining-company-bl...
For me the reality that Acosta was and is not in a position where he needs to lie or obscure to explain his actions, that nothing he has done as AG is illegal, there are no motions against him, there are better lies he could have told and that the AG (and Secretary of Labor) was not a criminal in this case leads me to believe him as a witness.

It's not clear to me what kind of further evidence you think should be necessary beyond witness testimony in this case, or what kind of standard this would apply to justice system in general. It's also difficult because - for instance - paper records such as the AG's inbox are missing.

Is there specific evidence you believe is readily available but that hasn't been forthcoming?
FWIW, eliding semicolons in JavaScript is perfectly doable. While much is made of the rules for automatic semicolon insertion, in practice you don't need to think about them. You can just code without ending your lines in `;`. I promise it will be ok.

As an example, standardjs (people used to get really mad about the name): https://standardjs.com
Being "partition tolerant" just means the other aspect holds: CP means "consistent in case of a partition", while AP means "available in case of a partition".

A CP system cannot be available in both partitions, since by definition the two partitions cannot communicate (otherwise they wouldn't be partitions) and thus it's logically impossible for two clients in two different partitions to affect a shared state consistently. Thus at least in one partition the service will be unavailable.

Forcing all state changes go through a single "master^Wmain" node (for some key/shared) is a simple way to achieve CP.

This main node can change over time, but in case if a partition it can never move to side of the partition which has no quorum for a master election.
Be sure to report the defect. Even if you already know they're working on a solution, which you can acknowledge (or ask them to confirm) in your message, you need to make it clear that you observed a defect with the bought product without undue delay for warranty to apply to you. (More info at Consuwijzer.nl, the website from the autoriteit consument & markt .)

Since I had some trouble with a certain model airplane store in den bosch, I know a thing or two about Dutch warranty law (and a bit about how it relates to European law; the Dutch one is more broad). Was a huge pain and cost me a ton of time and I didn't really have anyone who already knew the law or was willing to dive into it to double check my work (juridisch loket was also fairly unhelpful). Feel free, you or anyone, to shoot me an email if you have further or other questions on the topic.
The Blood House at Fountain Drive
Summary of the article: It's totally unclear what happens but here is some speculation.

This is just like during the USSR. Sovietologists were reading and and over-interpreting the signals. Now Chinatologists create narratives that try to fill the holes of our knowledge.

Details of Chinese government decision making and internal power struggles are not available to the outsiders. Even the intelligence agencies have hard time figuring what happens. And Chinese like to deceive.
That's what they already do. With lithium batteries neither 100% nor 0% are at the physical limits of the cell, they are both software limits. They might be enforced at the battery pack (over/undervoltage protection) or higher up in the chain.

It sounds like GM set the level too high, but it could also be something else like a problem in the battery's thermal management that is fixed by limiting the maximum charge level.
It's helpful to take subtle actions toward change for better when you are depressed. A key part of human tendency is to be consistent with what we have already done. It's a strong motivator to keep habits.

On intrusive thoughts, I think identifying them early and accepting them is important to re-directing them. It takes lot of patience and practice. Don't give up on the first few tries. Just remember that eventually you will be consistent with your actions.

I am having a horrible day -> what's the least I could do to make this day better? and then do it.

Please don't aim for something you can't do. It's okay if you can get out of the bed. No need to go for run. Aim for the least and gradually increase otherwise you will not do anything due to fear.

Another skill that will help you immensely is ability to prioritize the right things. Writing down what you really should do in order and sticking it to somewhere visible helps.

In the end, no clear solution exist. For some, medication might be the best option and for others, it's lot of training to control the factors leading to intrusive thoughts and eventually depressive episode.
Why do you think Python is more susceptible than other platforms?

It is true that PyPi was designed before the author/project naming scheme popularized by github. Other than that I don't see a greater problem with name collisions in Python.
Perhaps because they knew they were going to release a fanless 13-inch Macbook Air.
I started volunteering to build an app to teach kids how to read
After spending 10 years building software for fintechs and corporations, I decided that if I could spend my time building anything, I should spend more time building things designed to help humanity, without trying to turn a profit. I joined the non-profit American Youth Literacy Foundation earlier this year and have been volunteering 10 hours a week for the last 6 months helping the build of iOS and Android apps called FUNetix that teach how to read and pronounce words in English. We just submitted our first production build to the Google Play console, so if you have an android device and time to check it out, feedback would be much appreciated. If you have any young people learning to read that could test it out, even better
This is correct. Although it's also true that drivers may have to spend quite a bit of time waiting for a job to become available, which doesn't count as engaged time.
Even the original post said so in the third paragraph:

> and now PowerShell where you can load .NET assemblies and pass around structured objects
Artificial Intelligence is transforming strategies in the Real Estate business
Yes. When you add in the fees + tip, it simply is not worth it. Then add the inconvenience of the driver being 40 minutes late. A lot of these drivers are so lazy, they won't even get out of their cars. I lost track of how many times I had to go out to the parking lot and track them down because they were in front of a different building.

If I'm paying a delivery fee + tip, you better at least get it to my door. That has less than a 50% chance of happening with these services. These days, it's cheaper, faster, and safer to pick it up myself.
That's the thing; calling for takeout is easy, the hard part is that most restaurants don't efficiently cook enough volume enough to justify the overhead of having dedicated delivery drivers.

The value proposition that has changed with the delivery apps is that lots of restaurants can share the cost of a large pool of drivers with an app that can sufficiently allocate routes. This isn't a proposition that has actually been profitable yet, though, and really the only thing that makes this situation unique is that we are now in an unprecedented situation where indoor dining is recommended against and in some cases heavily restricted or banned entirely. Presumably when restaurants are free to operate traditionally again they might not find having such a low-margin delivery arm so great, and they will leave. Anecdotally, some restaurants did this in my area when lockdowns were eased up.
"Ghidra" sounds like "غدر" which is Arabic for "treachery" which is funny since this was released by the NSA.
In a struggle between big private capital and big state, I would refrain from supporting either side. Also, I doubt this action is over mildly critical rhetoric.

Another point:

> authoritarianism is bad for economic growth

* Economic growth is not a virtue or something positive in its own right.

* Authoritarianism is bad for many reasons, but being detrimental to something which is not in itself positive is not one of those reasons. Adopting an extensive regime of repair, reuse, recycling and energy frugality might also be detrimental to economic growth (as we currently evaluate it), but that doesn't make it disfavorable.
I hardly think making people face the consequences of their actions is authoritarian, nor is it worse than the callous disregard for other people's lives that many are demonstrating through their actions. People who refuse to take basic precautions are externalizing the costs of their decisions onto the rest of society. Litigation is one way society deals with that problem.

If someone went around having unprotected sex without telling their partners, then I don't see a problem with a civil suit from anyone they infected to make them pay for the damages they inflicted.

If I were to distort your view like you did mine, I'd say that you're arguing for the ability to go around punching anyone else in the face because to prevent you from doing so would be starting down a slippery slope that would lead to authoritarianism.
I picked up a 17" Dell XPS with the updated monitor. It is absolutely glorious. Was able to add a M2 drive and upgrade the memory. Had to do a bit of work to get the killer nic to work with Linux, but it is a solid machine. It is remarkably small for such a large screen.
this is ignorance.
Normally I'd ignore that, but yes, that's the classic argument to try and short circuit real debate by making us think that one death anywhere is worse than small actions we can take. I disagree, just like I think we should be able to create other social policies that don't save everyone but that try to compromise between the kind of world we want and the safety of its inhabitants. It's hard to think about and takes strong leadership to navigate, but instead of talking about that we focus of hyperbole and hashtags
Show HN: Edit CSV Files Online
It’s not black and white. If you drive you also risk other people’s deaths.
Ah, right. My new understanding, still somewhat shaky (partly because I don't have a recent enough version of GHC to play with these):

Something passed into a function as a linear argument is considered to be "used" as many times as the result is consumed. So if we try to use either resulting `DArray` more than once (or forget to use one of them) we will have used the original `DArray` more than once (or forgotten to use it, ... or both). As you point out, that can't be done because we're inside the callback (although I'd followed that bit originally).

And that's why we have `Unrestricted` - for returning results we can reuse (or needn't use) while still consuming the arguments exactly once.
Top shelf recommendation.

Thank you very much!
Rehex – Reverse Engineers' Hex Editor
> For all its many failings, I think this is one of the benefits that religion (an particularly the form of religion popular in Europe during the the last 2000 years) can provide.

Europe was home to the most horrific religious violence in human history. From the pogrooms of the views to the spanish inquisition to the horrors of protestant and catholic rivalry. Even nazism drew upon centuries of european religious past.

> By having a notion of some god, and a cannon, you can have a list of ideas that everyone considers good, and it makes such demagoguery a little more difficult.

Actually it makes such demagoguery much easier as it makes it easier to demonize others - infidel, unbeliever, christ killers, apostate, etc. Religion does half the work for the demogogue.
I find Mathematica very neat in the semicolons department (possibly because it's the only Lisp I know, and because all Lisps are neat in this way). In Mathematica, a semicolon is nothing more nor less than an infix syntactic sugar for `CompoundExpression`, and `CompoundExpression` has the attribute `HoldAll` to prevent eager evaluation of the syntax tree. You could roll your own very easily, complete with its own infix operator.

You can also override the default evaluation strategy of `CompoundExpression` if you `Unprotect` it first, or you can define upvalues so that your own things behave differently when they appear inside `CompoundExpression`s. It's all very lovely.
My toothbrush breaks even but its not worth $25B
Very nice!

Noticed this uses pinger, which executes the actual ping command behind the scenes and parses the output. Which makes it fragile in case there are changes in the output format of ping. Are there any good alternative libraries that can use raw sockets, etc?
This is just converting every business into the ultimate "too big to fail" entity that is the government.
Why are some rockets tested vertically while others horizontally?
I actually just dumped VSCode and went back to Neovim+extensions. I grew tired of node processes running in the background chewing up CPU and RAM even when I had it minimized, not to mention general flakiness.
I think it's named after a monster from a Final Fantasy game.
> that you are sorry about the harm/damage/waste/confusion your mistake caused (being specific would demonstrate understanding);

No.

You are allowed to make mistakes. You don't have to default to sorry.

This is allowing the mob to own you. To an extent they do, so maybe to have to let them bully you. But try and resist.

Sometimes you will be sorry and sometimes pretending to be sorry will get you something you want. But it should be your choice.
I don't think this is a distinction that matters to a government prepared to indiscriminately kill anyone, combatant or civilian, to maintain control.
> this is now happening for apps that have already been launched plenty of times before.

Have they launched the same executable before, though?

I have a lot of automatic updates. I doubt week-to-week or day-to-day, even, the signature of the programs I run are the same.
Tech companies under pressure to ban far-right forum used for militia organizing
We Sigh
> Just to be clear, I was alluding to software here, not real food and real restaurants.

Fair. I guess I'm being dense today. It's a very good point that despite the feeling of the software industry being old, it's still younger by far than any other human endeavor (that I'm aware of). It's a field that is chaotic and still hasn't had time to settle down, really.
I just solved this problem in Oil. In our two main influences, shell and Python, newlines are significant.

However Oil uses {} for blocks, and it also has dicts.

Originally I thought we should have something like %{} for dicts to give the lexer and easier job when deciding when newlines are significant. Oil uses Python's rules of newlines being ignored between () and [], and it would make sense to ignore them inside {} but not %{}.

But I found I could just makes newlines significant within {} and then put them in the grammar for dicts, as well as for blocks. It seems to work fine.

http://www.oilshell.org/blog/2020/10/big-changes.html#dicts-...

I am open to feedback if anyone wants to kick the tires :)
I've used Hex-Rays (IDA Pro's decompiler); not full-time, but 100+ hours, including professionally. My information is a few years out of date, but I think most of it is still current. I've also used Ghidra (9.1) for maybe 50 hours or so.

First, let me say: Both are leaps and bounds above _anything_ else out there. Stuff like Hopper is basically just assembler code in a different syntax; Hex-Rays and Ghidra are real, working, useful decompilers. Hex-Rays charges four-figure sums for single licenses, and it's because the product is utterly worth it if you do this kind of thing for a living (or at least was before Ghidra came along). I would estimate it speeds up reverse-engineering by 10x. There's a wonderful interactivity where the decompiler does all the boring book-keeping for you, and you keep feeding it info and it tells you stuff in return. Decompiling is often about figuring out data structures; both will infer a lot of struct types and sometimes even names based on usage and surrounding code. This is _so incredibly useful_. When you give a field a type or a name, it propagates throughout the program and gives you new understanding.

Both products are weird and have arcane UIs. IDA/Hex-Rays feels more ergonomical to me, though (for instance, highlighting happens automatically instead of having to middle-click), perhaps because it's what I started on. Both have strange bugs that you eventually learn to work around. Both have lots of bells and whistles only advanced users will get to use.

Hex-Rays' output feels much more polished to me. It recognizes a lot of compiler idioms, and every new release recognizes more. On the other hand, Hex-Rays only supports a few select platforms (when I started, it did 32-bit x86 only; now it does x86, x86-64, arm, aarch64, ppc, ppc64, mips), and you have to pay for it separately. Ghidra supports decompilation for almost all targets it can disassemble! This either is huge, or doesn't matter to you at all.

Hex-Rays' support is amazing. You report a bug, include a specialized program database by means of a function in the GUI, and four hours later, you receive an email with the bug fixed. On the other hand, Ghidra is free and Hex-Rays is the most expensive software I've ever used, which is obviously a huge deal for anyone not doing this full-time. (The Hex-Rays license lasts for only a year, but after the license is expired, you can still use the software. You just don't get support or newer versions.) If Ghidra cost $500 (for a permanent license), I would probably consider getting it, but it happens to be $0. Fantastic value for money.

If I could choose only one, and cost didn't matter? I'd probably go with Hex-Rays.
> One naming law that some found restrictive was California's ban on diacritical marks, such as in the name José. For over 30 years, the Office of Vital Records in the California Department of Public Health required that names contain only the 26 alphabetical characters of the English language. The law, however, was amended in 2017 to require the usage of diacritical marks to be properly recorded by the State Registrar

This was because the software couldn't handle it, but what software engineer wrote software to handle names in California that couldn't handle Spanish names of all things!?
I don't think comparisons to airplanes make much sense. While early airplanes may have only been accessible to the rich, at the same time the infrastructure required was very minimal. During the early stages of the aviation industry, not much more was needed than a field or lake. A minimally viable Hyperloop for the rich requires billions of dollars of infrastructure.
That's intentionally taken out of context. He specifically said that nazis and racists are not included and that they should be condemned.
If it worked readily/economically enough as envisioned the hype would be well justified.

Solar roadways only value add is "we found more space to put panels" and that's not a serious problem as there's plenty of space for that.

Roads are already costly and this would just make it worse.
Authoritarianism lowers the bar for the effort that it takes this kind of thing to happen though. It takes a lot more money and effort to do it in a system where power is less concentrated than one where it is centralized since there are more actors you have to coordinate with.