skysight-inc/HackerNews huggingface dataset:
Privatized prisons lead to more inmates, longer sentences, study finds
I know that, I meant their own new CPU with their own ISA. I am sure I read about that a while back.
Nice link. Nothing controversial, but sometimes simplicity is controversial in our field.

I've slowly come around to seeing proper database design as the most essential foundation of an IT system. I remember reading "your data will outlast your application", and I've been around as a developer long enough to have lived it.

One big anti-pattern I've seen with ORMs is that developers who don't really think in terms of data and relationships use the ORM as a kind of object serialization usable only from the application. Rather than thinking of the database as something useful that could be queried and accessed outside the context of the application, they write objects out to various tables and then re-import and re-construct them once they're needed again in the app, often with dependencies that are in code or even yaml configuration files. The upshot is that you simply can't use the database as anything other than a persistence tier for an app. It really would be no different if they had simply given the objects and id and pickled them to disk. The resulting data store really is that inaccessible and meaningless outside the context of the app.

As a result, if an analyst wants a report, they can't write SQL to get those reports, even though the persistence tier is, if perhaps in name only, a "relational database". And when the app goes away (as it inevitably does), they'll still want to know, say, how many beakers and test tubes were ordered by a lab tech who participated in 100 or more experiments per year with at least one faculty member from radiology between June and December in 2007.

But because they don't really know SQL, they see no value to it, and they're honestly just kinda irritated that they don't have an object database, which is what they understand a database to be - a way to pickle and reimport objects. The application outlasts the developer, and the data outlasts the application.

Yeah, if you're writing an app that will hold potentially useful data, definitely think about how this will be accessed outside the context of the app that perhaps inspired its creation, and think about how you'd get at the data if the application went away. That'll probably lead you to old, good database design.

Now, I actually do think that you can create a decent relational database through an ORM. I saw this go sideways with Rails a bunch of times, but I think that's probably because Rails made it so easy to start developing that a lot of people new to application development skipped the design stage of the data backend. You can construct a pretty robust database with migrations rather than CREATE TABLE statements, as long as you stick to the basic principles - but the technology makes it relatively easy to do the opposite and never really get into the mindset of data.
> state school

5 of the top 10 CS programs are at state schools.

> I got the message that I was incapable of accomplishing anything from an early age

Apparently you took it to heart and can't recognize what you accomplished.
I should note - the valves/compressor can be located quite a bit further away... making most of the noise go away.
Is it really cycle friendly? Before I moved here I had this idea that it would be like Amsterdam or something. It's not even close. The roads are potholed and badly designed for bicycles. When I used to cycle in from the edge of the city I'd overtake hundreds of cars, as usual, but barely see any other cyclists. Really no different from anywhere else I've lived in the UK except there are, inexplicably, loads of bike chained to railings everywhere.

As for living in the city, you either have to share with someone or pay exorbitant amounts for something tiny. And what are you even getting for the money? In London you get to live in a world-class city with the best public transport in the country. What do you even get in Cambridge? It's only famous for its university, and that is off-limits for plebeians.
I agree with your sentiment. Something that's helped to keep me learning/improving/progressing past the 1 month mark is to remind myself how much I managed to learn and or enjoy during that time. If I can't think of anything -- usually this is rare -- I'll give it up. Extend your reassesments to every 2 months, 4 months etc... I end up finding it harder and harder to give up. Still, it's good to know when to throw in the towel.
There is only so much zero interest money you can burn through before people taking those loans realize that you have no product and they will be still liable for the principal.

Nikola has no battery edge. Their hydrogen tech is vaporware - after more then 20 years of massive public and private investment in Japan and Germany, Hydrogen failed to achieve a competitive position in the marketplace. Hell, it has been 17 years since Bush Jr announced his plan for a "Hydrogen economy" - nothing materialized.

Hidrogen is dead an buried, not coming back. Nikola has no propulsion in a market where even the company that has the best electric propulsion - Tesla - is struggling to put a compelling semi.
Apple allows streaming games on iOS, but there’s a catch
Unix shell also has a natural learning ramp. You start out just using the the shell to do standard computer tasks: install software, manage files, etc.

Then, one day, you're trying to do some sort of repetitive task, and you use a for loop. Or you realize it would be nice if cron could run a command for you at a set time.

Then, some time later, you realize it would be useful if cron could execute five commands in sequence, or decide that your for loop is complicated enough that you'd like to write it out on multiple lines. And just like that, you've started developing shell scripts.
And if he has paid with a debit card or wire transfer, he would be even more out of luck than PayPal.

Why would we (I'm genuinely asking here) consider PayPal more similar to CC than the others? My point being, it could be (closer to) either, and both make sense to me. PP doesn't necessarily need to operate like CC.

After all, CC as a service charges much more with processing fees from merchants and sometimes annual fees from the customers. It's meant to provide a "better/premium" service.
Why take the time to even post?
The authors found two potential reasons for the effect of private prisons. The first is corruption, where judges or legislators may be influenced to give out harsher sentences or write laws with harsher penalties.

The most prominent corruption example is the 'kids for cash' scandal in Pennsylvania, where two judges were bribed by a private prison company to give harsher sentences to juvenile offenders instead of probation to increase occupancy at for-profit detention centers.

The other potential reason for the findings is increased capacity.
Save ARM
Paul Graham is a goat
I think the difference in brain cycles spent for a master in OOP vs a master in FP is far less than the difference between a beginner in either compared to the masters of their style.

At least in my experience, OOP has more concepts to learn but each learning step is smaller. FP has less concepts in total but the learning curve has some rather steep parts in it.
The thing is that as a parent of small children I’d never feel comfortable driving a real car 200mph as I can’t really risk my life like that, and am not a thrill seeker. So doing it in game is actually preferable.
Hoard of the Rings: Annular bread-like objects at Late Bronze Age hillfort site
I remember them too. I am OK with bias in writing, what disturbs me is the conviction with which its presented.
You very likely are facing an XY problem.

It's usually still best to start by answering the question actually asked, and let the asker carry on from there.

Very often the answer to the question is "there's no way to do that", or "you'd have to build a whole Z by hand first", and the questioner will then back away from Y on their own.
I hope you realize that is simplistic. Is the bar for enforcing such laws very high and do many often slip under it? Yes. And yet prosecutions under such laws are happening constantly.
>The team is speculating that the greater reliability may be connected to the fact that there were no humans on board, and that nitrogen rather than oxygen was pumped into the capsule.

So, nothing to do with it being underwater?
Improve Your Design Handoff + Free Figma Template
This history is interesting to read. The last place I worked had trade unions (electrical, mechanical) and still used those terms. There's a huge difference between a master electrician and an apprentice.
Before the change in policy you could choose to have the items moved to checked baggage, or packaged and shipped separately. Seizing the items is not the only alternative to letting them into the cabin.
Probably this one, then: https://news.ycombinator.com/item?id=18442941
The world is full of care and kindness: it's about being open to it. When we're disappointed by people close to us, it's important to remember that love is something than originates within, not without.
I made the mistake of trying to author a scientific paper in org-mode. Big mistake. I should have just stuck with LaTeX, because what ended up happening is that all my problems and difficulties had to do with me navigating org-mode wrappers around LaTeX, when I could just have dealt with LaTeX directly.

I'm sure there will be plenty of people to tell me that I'm wrong.
Glad it was found. These days it is risky to have information about who you are voting for be public.
Still lackluster compared to excel + powerapps + powerautomate
Totally makes sense - SQLite is very dependent on a traditional filesystem.

I've been figuring out how to run backups recently and grabbing a copy of the file isn't enough - you need to be sure there are no transactions going on, so you need to use the SQLite backup API or run VACUUM INTO a separate copy, which then doubles the amount of disk space you need.
Creating high-quality PDF/A documents using LaTeX
Aston Martin is the car maker that rebadged a Toyota iQ as the "Cygnet", so that their sports car customers could have an fuel efficient vehicle for city driving. I gather the theory was some European cities restrict what cars can enter based on emissions. They maybe were imagining it sort of like a yacht tender.

Anyway, it was basically a cubic Toyota, for three times the usual price. They didn't sell many.
>potentially illegal

Sounds like a dog whistle
Note that we're already moving around the sun at 30km/s. Or at 230km/s around the galactic center. Or at 368 km/s relative to the CMB rest frame...
Sounds like something "influencers" and racing drivers will get for promotional reason and a handful of FU money holders will buy. But I wouldn't be surprised if the units produced stayed in the double to low triple digits.
Sum types are harder to express as data integrity constraints that product types - for example, Horn clause constraints can be used to express that a table is a product (or limit, more generally) of other tables, but to express that a table is a co-product (or colimit, more generally) requires a stronger logic (handling disjunction, for example). This has implications for data processing algorithms such as the chase that depend on the strength underling logic.
I just wanted to come here to say that I started learning emacs in the beginning of the pandemic. I'm going to start my first year of masters and I'm going full on emacs. Literally one of my big wants in life is to help free software.. I still have a lot of learning to do to get to a point where I can actually contribute, but I hope one day I can indeed help
Reminds me of this great Derek Sivers post: https://sive.rs/pg

If your design is good, you need less code.
> Targeted probes would be more complex, and thus more prone to mechanical or software failure, or copy failure across generations

I'd argue that your argument is either

a. not intrinsically true of complex probes or

b. just a modified version of the great filter argument

You could imagine an advanced civilization that creates an artificially intelligent probe that is pretty effective at problem solving and resilient to these sorts of failures. Even if targeted probes have to remain active, there is no reason they couldn't consume energy harvested from their origin world to course correct.

If your claim is that every form of intelligence will inevitably fall to mechanical or software failure, etc. then that claim seems to just be identical to the great filter claim.

> targeted probes seem less likely to succeed over the scale of time necessary.

Your own GP seems to provide a very compelling reason why this is not true.
Do you have a reference for this? Thanks.
Overall I like what you're doing here - power distribution in a typical home is less modular and extensive than I would like and this is a good step in that direction.

I don't think the extension cords are a problem because they're not in the wall (and I see actual Romex used in the wall).

However, I would take the time to carefully research exactly what pieces of this are, and are not, code compliant. Not because you need to redo it, necessarily, but because it is a very impactful way to learn these things and learn deeper concepts of safety and failure behind the rules. Nothing stays as well learned, or remembered, as details relating to work you have actually done.
Text2Code: Converts English queries into Python code using Machine Learning
From the video:

"Behold, the 1,000 HP, zero-emission Nikola One semi-truck in motion. Get ready for the pre-production units to hit fleets next year in 2019 for testing. The Nikola #hydrogenelectric trucks will take on any #semitruck and outperform them in every category; weight, acceleration, stopping, safety and features - all with a 500-1,000 mile range!"

People were arguing about how Tesla's semi was dead on arrival because of these people.
Piggybacking here: We'd need to study this more in depth first, but a balloon is a very good idea. We need to observe Venus for a long time, make sure this is really really a thing, etc. Track it over a Venusian year, likely, to see any seasonal/daily variations [0]. Try and get some idea of the weather this thing may be associated with, to see how deep the probe would need to go to have a good chance of sample encounters, get an idea of it's 'biome' preferences, etc. Then you gotta design the thing to fit all those parameters, if possible.

An initial probe to determine if life is actually there is going to be tough, but maybe doable. But the real jazz is in sample return.

You'd want those little critters in human hands so you can do experiments and really study them. That is a very tall order, depending on the conditions that these bugs may be in. You gotta keep them alive for the return trip, with only basic ideas of their life cycle and proclivities. An aerobrake, that's hard, but doable. But if the things only live in a thick part of the atmosphere, then you gotta get back into orbit while hanging off a balloon. Or something like that. Not easy.

Even on Mars, with less gravity and less atmosphere and cold temperatures, we've never done sample return. It's really really hard to do. Venus ups the hard parts of Mars even more so.

But Life (if it's there) is just too seductive. It'd be a space race like no other, NASA, ESA, Russia, China, all vying for viable sample return. God, that may be a really cool thing to see. It would totally change how we think of ourselves in the solar system, if not the universe.

[0] Venus is tidally locked to the Sun (kinda), year/day is the same time length.
I love this comment because after reading it, I feel strongly that something like this is definitely going on with Repl.it. The potential of the product definitely seems huge, and it feels like we have not even seen the full picture yet.
This is funny because Stephen Dolan, the original jq author, works on OCaml itself.
There is a Rust parser being worked on for Org that looks promising. It would definitely help adoption to have another complete implementation aside from the elisp source. https://github.com/org-rs/org-rs
> Kinda miffed they gave up on Typescript though

What do you mean by this?
For immersion people love VR, for lap time it's basically personally preference.

Some people can't race in VR for long periods of time, but I do league races in my vive and I find it helps with situational awareness quite a lot.
I'm not sure this is a relevant factor here.

I don't think it's about the choice of words, but the choice of context. This is a professional networking website, so focus on that.

People expose their LinkedIn profiles for a specific purpose, and that's networking. It's not an invitation for cold calls.

Hijacking a community like this poisons the well for everyone else. When it becomes prevalent enough, women put their guard up, or avoid that community altogether.
IKEA Hackers – How to make a bookcase secret door
Like, how did they mean it? Did they build guillotines? Did they kidnap members of the ruling class and subject them to public sham-trials before executing them?

It's important to examine this claim carefully, when compared with the existence of for-profit prisons, prison labor, concentration camps; also when compared with gun-toting culture, like concealed carrying, brandishing, gun salutes, standing one's ground, shooting to kill, bringing guns to school...

To be blasé and use your phrasing, going through high school, I happenh to know exactly [0] how many kids were lost because of gun and prison culture. Meanwhile I've yet to see kids using guillotines for anything beyond novelty-slicing melons.

[0] https://en.wikipedia.org/wiki/Thurston_High_School_shooting
> sailing is not a great way to meet people from all walks of life. :(

To be fair, they're looking for co-founders which may not require meeting people from all walks of life.
Found this

https://projects.apache.org/json/foundation/projects.json

as the data source for this page

https://projects.apache.org/projects.html
If You're Often Angry or Irritable, You May Be Depressed (2019)
I wanted to point out that I respect PG's writing. It's normally pretty good, IMO.

I did analyse the "other side" - the folks who say it's easy to institute a wealth tax and there are minimal downsides. That's not the case, as I pointed out.
Yes, and when that harsh working provokes unproductive dialogue, it is known as being "trollish". If you really don't see what's trollish:

- inflammatory, dismissive labels without concrete justification: "eugenics, corporatism, sci-fi bait:"

- ditto for "what a series of shallow tropes"

- presumptuous assertion: "Here's one question in each field which is better than any of theirs"

The HN guidelines strongly advise against doing that.
The issue OP mentioned is certainly not intractable to fix, and in general type inference doesn't have much to do with the stable ABI. The ABI work was about refactoring some compiler internals and implementing library evolution support, which as far as I'm aware is unique among statically-compiled languages: https://swift.org/blog/library-evolution/. There was also a lot of work on code size improvements, runtime memory usage, and compilation time. The pace at which language features are added is not the only valid measure of language development.
I am smart and i am ready to do leg work. Alot of it.

What i am and what i am gonna do has nothing to do with what i was

Do what you made for

Don’t bend; don’t water it down; don’t try to make it logical; don’t edit your own soul according to the fashion. Rather, follow your most intense obsessions mercilessly.
- Learning by Anne rice after reading Franz Kafka work.
An esolang where values must encode a IEEE 754 NaNs, or the program will crash
Where there is a will, there is a way. Don't hesitate to join Org's mailing list and lurk there for a while, you'll learn enough to contribute soon.
I have a RP4 on my desk collecting dust, need to get it up and running for something useful. This post has got me motivated to find a use for it.
So one thing to note is that hardware overlays are really uncommon on desktop devices. NVIDIA only has a single YUV overlay and a small (used to be 64x64, now it might be 256x256?) cursor overlay. And even then, the YUV overlay might as well not exist -- it has a few restrictions that mean most video players can't or won't use it. After all, you're already driving a giant power-hungry beast like an NVIDIA card, there's no logical reason to save power and move a PPU back into the CRTC. So hardware overlays won't help the desktop case.

I still think we get better compositor performance by decoupling "start of frame" / "end of frame" and the drawing API. The big thing we lack on the app side is timing information -- an application doesn't know its budget for how long it should take and when it should submit its frame, because the graphics APIs only expose vsync boundaries. If the app could take ~15ms to build a frame, submit it to the compositor, and the compositor takes the remaining ~1ms to do the composite (though much likely much much less, these are just easy numbers), we could could be made to display in the current vsync cycle. We just don't have accurate timing feedback for this though.

One of my favorite gamedev tricks was used on Donkey Kong Country Returns. There, the developers polled input far above the refresh rate, and rendered Donkey Kong's 3D model at the start of the frame into an offscreen buffer, and then, as the frame was being rendered, processed input and did physics. Only at the end of the frame, did they composite Donkey Kong into the updated physics. So they in fact cut the latency to be sub-frame through clever trickery, at the expense of small inaccuracies in animation. Imagine if windows get "super late composite" privileges, where it could submit its image just in the nick of time.

(Also, I should probably mention that my name is "Jasper St. Pierre". There's a few tiny inaccuracies in the history -- old-school Win95/X11 still provides process separation as the display server bounds the window's drawing to the window's clip list for the app, and Windows 2000 also had a limited compositor, known as "layered windows", where certain windows could be redirected offscreen [0], but these aren't central to your thesis)

[0] https://docs.microsoft.com/en-us/windows/win32/winmsg/window...
Only Board, Only Hardcore)
The movie does not argue for policing content, but directs criticism towards massive data gathering, analysis and micro-persuasion trough algorithms.
There's no way you think Apple is miles ahead on async programming and ORMs, the iOS community has been clamoring for replacements for both for years and there's _plenty_ of web libraries for both.

The rest looks like it's focused on graphics/stuff you wouldn't do on the web anyway - yes, the fact it's impossible on the web _means by definition Apple is miles ahead_, but claiming Apple is overall miles ahead on dev experience because of AR and video bitstream manipulation APIs is a bit blinkered, given very few developers get to use those APIs.
How exactly? Since when do prostitutes and drug dealers pay sales tax?
I hear this mentioned a lot. I've never trodden on a power plug.

How is this even a concern?

Do people in America go around treading on cables all the time or something?
If I have a Visa card saved in the Starbucks app, and somebody uses my Starbucks app, I did not authorize Visa for that transaction. It would be no different than losing the card. If somebody picks up my card and swipes it, "Visa is doing exactly what it should" but also it wasn't an authorized transaction and should be reversed.