skysight-inc/HackerNews huggingface dataset:
“Up to” limits on sentencing are different from what people actually get. Swartz supposedly would have got 6 months recommended by the prosecutor. https://mashable.com/2013/01/17/aaron-swartz-prosecutor-orti...
Many animals can’t adapt fast enough to climate change
A Programmer’s Regret: Neglecting Math at University
>but the question is why do you expect me to cater to a minority market

Where do you get the idea that anyone expects you to do anything? Since when are hackers opposed to more options, especially those outside the walled gardens of modern smartphones? If it's worth it, do it. If it isn't, don't. If the system sucks, it'll fail. But why rail against the idea?
Reverse osmosis desalination needs to operate 24/7 as the capital costs are extreme.

Storage backed solar power is significantly lower than nuclear across most of the world. Further as a base load production Nuclear can’t cheaply follow demand which makes it a poor fit in a world with occasionally negative wholesale prices. That is what is stopping significantly increased Nuclear adoption.
>Technically, all logical implications are tautologies. Logic's weird like that.

Sure. That's why we tend to argue by induction ... even when we claim deductive reasoning. Deductive arguments aren't very interesting.
They're not claiming to be the only or the biggest player in the field. They're claiming to be cheaper and faster to build than the incumbents.

... to achieve significant cost and time savings compared to other battery systems and traditional fossil fuel power plants.
s/started/joined/
> ... is missing the word 'usury' which was largely agreed to be evil by early religions and societies that experienced its effects...

It should be noted that the reasons we borrow money today is different than why it was done in the past.

In the past, the "average" person was usually a farmer, and if they needed to borrow money, it was probably because their crops had failed and they needed to money to buy food to feed themselves. It was unseemly to lend money to someone who, without it, would die.

Borrowing money nowadays is usually for mortgages and consumer spending. Very different situations, with different moral contexts.

Of course some people do still need money to survive, which is where payday loans tend to come in, and I think a lot of people find them distasteful--and the fact that people in our society may need to use them also a sad reflection on our society.

So "usury" was/is considered morally wrong not because of the charging of interest, but of the moral context under which it used to be done. There are of course 'usury laws', but they reflect the idea that charging more than x% interest unseemly because there should be no need for it (to produce a reasonable ROI).
The main website is not updated yet, but it seems this is 2.8 indeed. Or do you have other information I'm missing?
What’s wrong with

var a = ...;
a = a.project();
a = debug(a);
a = a.eject();
Genome study finds roots of Komodo dragon's tenaciousness
More like the latter. In my view a high quality developer is not one that pushes out code fast. Not that they are slow, but what distinguishes them primarily is their ability to deliver higher quality software, software that is well architected, robust, performant, etc.

It is like the difference between average chess players and grandmasters. Grandmasters do not necessarily think any faster than regular players; they think better. For example, they are better able to prune out useless lines of analysis, thus making more efficient use of their cognitive resources
This is why I'm staying out of much of tech and the current stock market.

We were taught as children the market returns 7%/yr. People took this too seriously.

This has all the signs of the housing bubble.
A couple of months ago they weren't even paying their soldiers^.

The country is overrun by Islamic Extremists killing and terrorising at will. See the daily news.

Africa's population growth is fundamentally destroying any hope they have for stability or progress. People emigrate to informal settlements near major cities in an uncontrollable/unaccountable way destroying delicate balances of resources with only a tiny fraction of the population contributing to the national or municipal coffers.

You can't grow your population so rapidly, with so few resources and
expect standard of living increases equivalent to the west. With that you can't expect the stability of the west.

They will inevitably keep looking to officials who will promise the earth with no hope of delivering.

^ https://m.news24.com/Africa/News/under-siege-somalia-moves-t...
the opposite is dangerous too: having somebody who is so full of himself that he thinks he knows everything is rarely a good idea. Knowing your limits and being honest about thinks you know and understand is a requirement for a leader, imho.
What language did you land on after leaving?
Thanks. But can I then add and remove items from an immutable object to create new objects?

Part of the immutable value proposition is being able to work with the objects. Based on [0] Freezing feels more like constant than immutable. And the 'frozenness' isn't communicated through the language - I could be passed a frozen or unfrozen object and I wouldn't know without inspecting it.

And freeze isn't recursive against the entire object graph, meaning the nature of freezing is entirely dependent on the implementation of that object.

I really like the language-level expression and type checking of Rust. But it does require intentional language design.

I'm not criticising JS (though I think there are plenty of far better langauges). Just saying that calling `freeze` 'immutable' isn't the full story.

[0] https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...
One week of empathy training
Did you point with your fingers or just talked.

I didn't do anything as overt as finger pointing, but I do know from plenty of reading on animal training that they're very perceptive to non-verbal cues that you may not even be aware you are doing (ala https://simple.wikipedia.org/wiki/Clever_Hans).
Yup! Couldn't find the link somehow.

Don't think the tigress cut the chase midway. Rather, the sudden change of surface from forest to tarmac affected her grip.
Coming from PHP, we’re used to it. Half the methods have $haystack, $needle, and the other half use them in the other order.
Oh come on, do you think these companies are doing everything to protect our data? Why the hell is our credit card applications hosted online anywhere after they've been processed anyway? And for 14 years?

No mate, making it doubly illegal (such as actually fining and imprisoning the negligence in leadership that chooses forgiveness over permission) would undoubtedly help. There are plenty of ways to keep our data secure and they didn't do enough.
Maybe drs shouldn't prescribe meds in such doses if they have such harmful effects?
Aha Programming
And Symbian and Windows CE apps.
Why would you want to turn it off?
Semi-related, but apparently Win10 WSL now includes the Linux kernel.

Being as that's GPL, it seems strange the GPL license isn't somehow "virally" infecting windows, making other things OSS.
Fixed the typo, thanks for the heads up!
Very good!

Personally, I am not a fan of languages growing. I think C is awesome, because everyone can understand the code, and doesn’t have to be a language lawyer like with C++. Concepts, Lambdas, crazy Template preprocessing, and more. The team can just work, pick up any module and read it without magic.

In C++ I am not even sure if a copy constructor would run vs an overloaded = operator without looking it up.
When you star a project it gets "updated" even if you unstar it. Kinda like Unix's touch command.
After 14 days it should be encrypted independent of any AWS encryption as someone mentioned in the other Capital One thread and the key should not be stored on a S3 container or some obvious service that can be easily compromised.

Keeping all your eggs in one basket (the cloud) is never a good idea. If you have to do it try and give yourself as much control over sensitive data via encryption of no longer to be accessed data.
Best Books on Cryptocurrency
That's what I meant by pleasing the code formatter. We all have seen those horrible codebases filled with linter-disabling comments. This is what happens if the rules are too strict.

Also, code is already consistent by it's syntax. I can't think of any example how this strict formatting helps anyone.
This is fear mongering. Every website could try 0-days exploits or drive-by downloads . Every app can abuse its permissions and track you/upload your photos/eavesdrop on your conversations. Every neighbor you have could spy on you through your windows/note when you come and go/follow you. Your grocery shop owner can poison your food. Etc etc.
You can't blindly trust anything "from the wild" yet you can't really live without it. That's why we naturally do give trust by reputation, but at the same time remain vigilant.
To me, the only syntax type I dislike more than tons of parentheses is significant indentation. But with s-expressions that's a presentation issue that can be solved with proper formatting and de-emphasising the parentheses visually, whereas significant indentation to me feels actively programmer hostile.

But while I also don't like the appearance of significant indentation, if it was just a presentation choice of an underlying more robust representation, I'd be fine with that.

So I sort-of agree - it seems like something that could be a neat editor plugin etc. on top of a s-expression based language and would be better for it than as the only/default syntax.
Prosecutor discretion exists. Furthermore, AFAIK (IANAL, especially not a US criminal justice lawyer), US sentencing guidelines take into account first-party financial damages (low for CapitalOne) not diffuse third-party damages of the kind suffered that will be suffered by the 100M people whose PII was lost.
What is a DETA?
For text you can just concatenate a number on to whatever fixed text you want which is usually good enough for my testing. Also from text you can construct other types so a combination of these should cover most needs.
Also note that lock-free can scale worse, again due to contention.

If you want scalability, you want to minimize inter-core and inter-socket traffic.
This is actually similar to how it works for traditional TV and Radio Broadcast in copyright societies:

(Total revenue of license period x peak/non peak weighting x duration of song played) / total music duration for license period.

This is something YouTube vehemently fought against. At least in the original 2014 contract with PRS for music.

IIRC YouTube would never send cue sheets (list of included tracks per video) in the usage reporting data. It was just the video title. That was the old deal though - I left before the new deal was signed with ICE services.

Edit: oh, and sampling has its own process. The content creator has to negotiate with each individual rights holder as to the splits when the song is registered.
Agreed, though I think the syntax problem (too many parens) could be made more readable and Go-like by emphasizing the generic aspect and making it stand out visually -- leaving no doubt that you're in a section that's generic, and perhaps dissuading overuse by making it noisy. Perhaps something like:

generic func(T, U) Map(slice []T, mapper func(T) U) []U

For "contracts":

type Set generic interface(T comparable) {
Push(T)
Pop() T
}

Every time you want to refer to a generic type you'd have to use the generic keyword, which encourages use of concrete types:

type IntSet generic Set(int)

This is more or less how Modula-3 does it. Generics have dedicated syntax with a "generic" keyword.
If this is the real 2.8 (not rc3) this is great! Admittedly the beta was quite stable and usable, so no big change but for the symbol.

Having played with 2.8 for the last few months, it's really a massive overhaul. Combined with important investments from big studios like ubisoft [1], it's seem Blender is moving in an interesting direction.

[1] https://news.ubisoft.com/en-us/article/353364/Ubisoft-Joins-...
The article is about Somalia, this thread is about Ethiopia both are at very very different stages at this moment.
Best React Open Source Projects
These shops are still very commonly called "Pakis" in Spain (at least, in the cities where I have spent time), even by young people.

Edit to add: Reading further down, there are some Americans saying that they called them packies because they "pack liquor". This isn't the case in Spain, and I'd be skeptical that it's the case there either.
Also RTX integration for accelerated ray tracing, wooo
> If you dont have a drivers license and other things to show you shouldnt get a credit card.

In Europe everyone has to possess a personal ID card or a proper passport, and it is required to be presented to the bank agent (or a verification service). Yes, we do have some problems with faked ID cards and lately by fraudulent video identification, but still - not remotely comparable to the laughable "security" in the US.
Not necessarily and not from an economic perspective. One can argue that, but it depends on how building affects the market. For example by shifting demographics. But even so renters, without rent control, are only interested in the part of the market they can afford where they live. That is, the quantity supplied at their income level. Which is even more susceptible to changes. The assumption people are making about "basic economics" just aren't true. More supply just isn't a solid argument for affordability without supporting evidence, and especially not when it comes to housing.
Outside of some very exotic scenarios, this hasn't been the case for about 20 years.
Any time something is tauted as magic, or there’s an example that is ridiculously simple to deploy, anything beyond that is impossible.

I guess I’n with the pessimistic people. I just cannot see it ending well.
What is your proposal for an alternative to FedEx, UPS, USPS, Royal Post, etc? Thousands of small independently-owned shipping companies? How would that work when you need to ship a package from/to arbitrary locations in the entire US/world?
Minimum in what situation? At what price level?
Which website is updated then?

Everything on that page suggests that it isn't ready yet.

Downloads still default to 2.79 or alternatively the release candidate.

edit: not sure if I clicked the wrong link or something but I was directed to blender.org and not the current link that goes to the files directly ( https://download.blender.org/release/Blender2.80/ ).
Please don’t confuse finance and physics. Taxes and incentives can change financials overnight.
Show HN: A Challenge to RK4
Why limit yourself to fourth-order integration?
Why put up with roundoff errors in your finite differences?

Here is a Lorenz ODE solver in 20 lines of dependency-free Python to enlighten you! Find out more about the Taylor Series Method at https://github.com/m4r35n357/ODE-Playground, read the docs and follow the references, marvel at how long this technique has lain undiscovered by the masses.

#!/usr/bin/env python3
from sys import argv
# Example: ./tsm.py lorenz 10 .01 3000 -15.8 -17.48 35.64 10 28 8 3
model, order, δt, n_steps = argv[1], int(argv[2]), float(argv[3]), int(argv[4]) # integrator controls
x0, y0, z0 = float(argv[5]), float(argv[6]), float(argv[7]) # initial values
x, y, z = [0.0] * (order + 1), [0.0] * (order + 1), [0.0] * (order + 1) # Taylor coefficient jets
σ, ρ, β = float(argv[8]), float(argv[9]), float(argv[10]) / float(argv[11]) # Lorenz parameters
print(f'{x0:.9e} {y0:.9e} {z0:.9e} {0.0:.5e}')
for step in range(1, n_steps + 1):
x[0], y[0], z[0] = x0, y0, z0 # build the coefficient jets
for k in range(order):
x[k + 1] = σ * (y[k] - x[k]) / (k + 1)
y[k + 1] = (ρ * x[k] - sum(x[j] * z[k - j] for j in range(k + 1)) - y[k]) / (k + 1)
z[k + 1] = (sum(x[j] * y[k - j] for j in range(k + 1)) - β * z[k]) / (k + 1)
x0, y0, z0 = x[-1], y[-1], z[-1] # perform an integration step using Horner's method
for i in range(len(x) - 2, -1, -1):
x0 = x0 * δt + x[i]
y0 = y0 * δt + y[i]
z0 = z0 * δt + z[i]
print(f'{x0:.9e} {y0:.9e} {z0:.9e} {step * δt:.5e}')
So far USPS has been the least bad for me as a receiver and occasional sender of packages. That doesn’t really mean they’re good.

Something I’ve noticed is that when USPS packages get delivered to my complex, they show up as “Delivery attempted; nobody was available to accept package” at around 9 AM, then show up at my door at around 3 PM. I had my suspicions but when I finally asked the mail man confirmed that they simply aren’t allowed enough time to actually make the deliveries. In the online shopping era doing a complex like mine can take four hours or more, when they only allot 2 hours.

This last Saturday I had a package bounce like that as well, only it never showed up at my door. Instead, I found the door tag in the mailroom and had to go pick it up today.

At my previous residence I rented a townhouse with its own address in a less populous area and did not really have this issue. However, I did have a different problem, which was that the address on my driver’s license did not match my address (its complicated.) I frequently import stuff from Japan, and EMS always requires a signature. So I often found myself at the post office with my leasing documents trying to prove that yes, I live here. I had a USPS account with Informed Delivery that I confirmed with a physical mailpiece, which is good enough proof for the DMV, but not good enough for USPS.

It’s really, really saying something that this is the experience I consider to be the best I’ve had. Though I’ll give UPS credit for having somewhat accurate, if coarse grained, delivery windows to tell me when to expect something, instead of “Oh, it’ll come by 8 PM” and then it comes literally at any time including after 8.
That can’t show the programmer’s intent whether it is mutation (e.g. a = a + someNum) verses defining a new variable with different types (but has a similar meaning so has a same name) (e.g. someKindOfData = [...someKindOfData])

Rust allows this, and it really clears codes up. I don’t have to make up different identifiers for same data but different representations.
(e.g. I would do the above code in JS as... someKindOfDataAsArray =
[...someKindOfObectAsNodeList])
seems like a real missed opportunity to add string.leftPad()
France passes law to tax digital giants
If I steal capital ones company vehicle and get in a head-on collision, capital ones insurance still pays the damage. I'm still criminally liable for unlawful entry, but C1s insurance covers the damage done by their vehicle. The same precedent needs to apply here. If I broke into a chemical plant and released harmful toxins into the air, the company is still civilly liable. In this case, the data is the toxin.
> who bulldozed thousands of people's homes in Mumbai to build an uninhabited luxury condo

Do you have source for this claim?

> who is destroying Australia's Queensland/Barrier Reef region

That's Adani, not Ambani.

I'm no fan of crony capitalism, but such false claims on HN aren't cool.
A news-source I won't mention, because it's trash, did a full stalk of her on social media, and she seemed to be in an _erratic_ state of mind, but maybe that's just her personality.
Kind of stupid, but I imagine the 'p' in 'splice' being an axe that chops the array :D Works for me...
I find Goodreads recommendations pretty good, which are presumably based on a souped-up version of "people who liked $YOUR_LAST_BOOK also liked X".
Diamond Rings
> and I could delete it, I would probably do it

In the UK this would definitely open you up to the Computer Misuse act, and I imagine the police would have something to say to you about evidence tampering too.
People will piss around whatever tools they use...
It’s cheaper for a reverse osmosis plant to buy batteries to operate at night than shut down 1/2 the tome. Stupid incentives can change what people do, but the economy pays for the inefficiency.
Key factor ignored by IoT developers
Searching for the Sundays
How to paginate the AWS JavaScript SDK using async generators
Wasn't this a private S3 bucket and she somehow hacked permission access? Anyone know the full details of how this came to happen?

As for mitigation, does S3 encryption happen at the user access level (GET) or S3 system level. Basically, does each GET call pass in the decryption key? This means an attacker needs another piece of information. More encryption wouldn't hurt here. This goes for Equifax too.
> default location for the range estimate is "Rotterdam, Netherlands"

Try Madrid. Or Athens. Or Cairo. Or Sydney. Or Los Angeles. Or San Francisco.

> So they're going to be 69% more efficient than Tesla?

Yes. They're using in-wheel motors, they have better aero (shape, wheel covers, wing cameras), and they've focused on reducing weight.

Maybe read about the Lightyear One first before going off on a tangent.
How to make your own:

https://www.idropnews.com/how-to/heres-how-to-stop-sharing-y...

It should look something like this (you'll have to remove a bunch of other unnecessary settings from the file to make it look list this):

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>PayloadContent</key>
<array>
<dict>
<key>PayloadDescription</key>
<string>Configures restrictions</string>
<key>PayloadDisplayName</key>
<string>Restrictions</string>
<key>PayloadIdentifier</key>
<string>com.apple.applicationaccess.masked</string>
<key>PayloadType</key>
<string>com.apple.applicationaccess</string>
<key>PayloadUUID</key>
<string>masked</string>
<key>PayloadVersion</key>
<integer>1</integer>
<key>allowSiriServerLogging</key>
<false/>
</dict>
</array>
<key>PayloadDisplayName</key>
<string>Prevent Siri from Logging Me</string>
<key>PayloadIdentifier</key>
<string>masked</string>
<key>PayloadRemovalDisallowed</key>
<false/>
<key>PayloadType</key>
<string>Configuration</string>
<key>PayloadUUID</key>
<string>masked</string>
<key>PayloadVersion</key>
<integer>1</integer>
</dict>
</plist>
A probably paranoid note of caution: it isn't confirmed that this is correct.

RC3 was released July 24, this version was posted July 29, but currently (12h15 GMT on July 30) it hasn't been announced, either on the website or social media. But downloads for all platforms without RC* numbers have been added to the download directory (and they are not just duplicates of RC*).

The team were planning to build the final version yesterday for release today. So that does check out. But until they announce, it might be worth being patient for a couple of hours.

It is SIGGRAPH this week, so the team has been busting a move to get 2.80 out. Particularly after a couple of weeks of really impressive announcements on funding. So it is likely this is the final version, waiting for a formal launch later today. But it could just be a temporary thing.
Interestingly the Daily Mail had this detail, and I wondered why they felt the need to include it; at first glance it didn't seem at all relevant. My belief is that the small number of trans people I know would rather be judged by their actions in an absolute sense, rather than "well this is kinda excusable because he/she is trans", but maybe I need to re-examine that.
Even Chernobyl is a drop in the ocean compared to the impact of fossil fuel though. aka: The worst case scenario of using nuclear energy is less harmful than the best case scenario of using fossil fuel.

It's all about perceived threat vs actual threat. In the case of nuclear energy the perceived threats is blown out of proportion, in the case of fossil fuel it's just business as usual. I'm not saying nuclear doesn't have issues, but I'd argue that nuclear issues are manageable/solvable whereas fossil fuel issues are not.
You mean https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe... ?