skysight-inc/HackerNews huggingface dataset:
This article only addresses public schools. States have had to reduce funding to those schools because of rising healthcare and entitlement costs, along with lack of public will to spend more on them. We all can see there is a giant marketing machine at these universities and private schools which have convinced many students and parents that the only way to a successful life is to enter into a long-term debt commitment. The article you link to was written by one of these marketers. It is nearly impossible to be denied one of these parent-student loans. And these loans can never be dismissed by bankruptcy, unlike other loans (I am not advocating not paying your debts, but use this as a further illustration of the way education and government have conspired to create this situation).
Linux has no trouble with hibernate/suspend, at least on my machine.
It's just that I prefer to start from a clean state each day and don't want to be bothered with yesterday's clutter.

I also save downloads and small 'run once' experiments to /tmp, so booting the notebook is a good way to clean everything up.
A New Direction for HPC Math Libraries
Oh, I was not personally saying that what you are doing is wrong, I was just replying to parent on how remuneration to an insider can be seen.
It might also be prudent to register a few numbers in Twilio and have them forward to your references. Then you know if they were called and by whom, all while keeping your references' real numbers private.
When people say they expect someone to implement cycle detection, they usually mean Floyd's algorithm.

https://en.wikipedia.org/wiki/Cycle_detection#Floyd%27s_Tort...

If you come up with something else (like tagging nodes), you get a strike for inefficiency.

It looks simple enough to feel smug about once you know it, at the same time there's near zero chance the interviewers could come up with this algorithm independently without prior knowledge.
Yep we use Git to build windows! here is the story that was told about our efforts.

https://arstechnica.com/gadgets/2018/03/building-windows-4-m...
1) they really are not ambiguous at all in these cases, it is clear cut that these sites deliberately tries to get away with going directly against the law

2) these dark patterns are illegal, and they are illegal just because they do "force" users to consent
Indeed I have seen front end Django developer jobs, when Django is most definitely a server side technology. However on multi tier systems it may be handling the "front end" of the system.
Cargo cult metrics.
He's taking the running average of the partial sums:

1-1 = 0
0+1 = 1
1-1 = 0
0+1 = etc etc

The partial sum would end up being equal to the final sum by definition when you're done summing all items. Since we're talking about infinite sequences you're never done summing all items so you'll have to do something else to end up with an answer. for example seeing which way the partial sum trends. In this case it trends solidly in the direction of 1/2
Quantum Has Its Role, but In-Memory Is the Way to Go
Why did you quote half my sentence, leaving out the part where I explain why, and then ask why?

> Adding a simulation hypothesis does not simplify the model, and it is unfalsifiable.

I explain this. It's falsifiable if it can be shown there is some extremely large and complicated process that be observed to be different than any possible rough calculation that could be accomplished by a simulator with very constrained resources (constrained in comparison to all the supposed atomic particles in the universe)

The notion that all forms of energy must be conserved, even undiscovered ones, has been used as the basis for the theory of Hawking radiation, isn't it? Yet claiming that undiscovered forms of energy are conserved, just as known ones, is unfalsifiable, too.

The law of conservation of energy, including undiscovered ones, is in the same boat as the theory that the universe is a simulation.

Until we find a form of energy that isn't conserved, it is simpler to assume all types of energy are conserved.

Similarly, until we find a process that is of large enough scale that it couldn't be simulated on a computer with resources much more limited than the size of the universe, and be observable identical to a process taking much more resources, it is simpler to assume it all is being simulated in such a way.
Integer overflow is undefined behaviour so an input for instance of 2147483647 and 1 makes the program invalid.
To the downvoter. I'm sorry you don't like this (I don't either) but you can't downvote away facts.
I'd highly recommend checking out "Enlightenment Now". Lots of interesting points in there but one of the most eye-opening is that many environmental problems are best solved indirectly.

People generally don't want to live in smog/pollution if they have a choice but will do whatever it takes to survive even if that means harming the environment.

For example, no amount of lecturing or rainforest protests are going to stop people that depend on slash & burn for survival. Best option is to open up trade, provide GMOs & fertilizer, and provide economic opportunity so they have options other than slash & burn.

You also see this with China, they've made huge progress environmentally, mostly because they can now afford to.
It probably sleeps too deep. Because it takes that long to resume, It looks like your laptop hibernates instead of sleeping. It can be quick enough with a fast SSD and not too much RAM. I usually disable hibernation on my PCs, the sleep consumes some power maintaining RAM state but the amount is low, a laptop can sleep for days. Wake up from that state takes about 1-2 seconds.
Commercial Indoor Playground Equipment
The Supercomputing of 2025 Looks Much Like AI Today
Yes and no.

Your pi-hole can block things, but if you leave home and the app framework has cached communications, what happens then? Can it now push the data?
Agreed. The current system is just giving an explicit score to something that was tallied implicitly so far. I feel it repulsive that states would score citizens' social score but I don't mind them doing it for companies.
You can easily afford that mortgage. It's $4100/mo. Aren't you netting $12-$14k/mo after income tax? Not sure what the property taxes are where you are.

Everyone faces the same anxiety when buying, but what's the alternative? Is your rent that much cheaper? If you lose your job, you still have to rent a place to live.

You're also missing out on a big capital gains tax exemption.

If you do lose your job, you can rent it out.

$800k is nothing in a city with $240k jobs. You should see other big cities in the world!
Yes, this is what I meant! Thank you!
The problem is that UB is invoked on runtime for particular inputs... And it silently makes program unreasonable after this point.

That is not good. It's hard to reason about such a program, in other words can you trust results of such a program? How do you know whether your input caused Ub at some point or not?

The burden of sanitizing the input is on the user (either programmer or the data provider).

Checking this is usually a performance tradeoff, so it was decided not to be done by default.
a) It's just not that easy to "everybody needs to adjust" -- people are different wrt. what causes anxiety, etc. It seems a priory quite plausbile that there's a significant genetic component to this.

b) "Get checked" may itself cause problems, for example: Scans for breast cancer involve radiation which may actually cause cancer. Biopsies can also be quite invasive. Obviously the risk is low, but depending on the exact numbers and it might actually be better to not get screened until one is in a known high-risk group (where the base rate fallacy doesn't skew the results so much).
Cameras need fast full size SD cards.
> Curing the plastic problem is a lot like fighting cancer. Even if everyone stopped smoking, there would still be cancer.

That analogy is so terrible, smoking increases cancer risk at least 20 times

Reducing plastic pollution by even just 50% would already be fantastic
You have a problem. And it’s probably related to your db architecture, which was probably designed by devs with ORMs.
It's because of the job market. Don't position yourself on that. It's not rational. The market just try to minimize the risks (for those who hire and manage). Same for junior vs senior.
Nope. Not even close.
This. I was lucky enough to fall for a German woman who was studying in the states. We married and moved to Berlin when we realized having a family in the US would be a struggle. We could have moved to the suburbs, but we really hate car culture and wanted to live in a biking city. I worked in tech - didn't have to learn German or jump through hoops to get a job.

Now, on a single high 5 figure salary, I'm 15 minutes biking to work and live in one of the nicest parts of the city. We have two kids in free day care. My wife works part time, and she is finishing a year off of 60% paid maternity leave. She really doesn't earn much after taxes, but we save all her income - more than 15k per year.

Salaries are lower here and things are getting more expensive for sure. But for 400k+ EUR, we should be able to buy a place for a family of four and bet set for a long time.
That’s how I have seen it done in Perl, PHP, Django, etc as well. It’s not an ORM thing it is a naive programmer thing.

The ORM makes it easier to do things like Class.filter(insurance_end_date < today_date)

But hey what do I know, I am not berating the youf of today so I don’t belong in this skit.
Writing better code makes programs more robust and reduces maintenance cost. For a management point of view, the boss may think that your project was more easy than the project given to the other team that butchered their work.
Yes but the unscrupulous ones will be happy to give and receive fake reviews. The more honest ones won't. So it will be hard to tell the difference between a bad recruiter (fake positive and real negative reviews) and a good recruiter (real positive and fake negative reviews).
Yes, the sample's source code is here:

https://github.com/floooh/chips-test/blob/sokol-app/examples...

The pure 8-bit chip emulators are here:

https://github.com/floooh/chips

You can also start with the 'proper' emulator this is based on:

https://github.com/floooh/yakc

This has all the links to the underlying software.
Reasoning, and What It Is To Be Rational (2000)
Phones have pocket detectors already. They use infrared distance sensors mostly.
We've done two audits now, only minor items
Nice, now it needs some armor casing and it will be just like a cockroach. My pocket surveillance device will now be impossible to destroy!
> They do thinness for lightness sake.

That's what Air is (was) for. Converging both Pro and Air into a single machine seems like a solution no Pro user is really happy with.
Everybody who seriously uses git will also want to see the graph somehow. Here's how I do it: https://github.com/erikbgithub/dot-files/blob/master/.gitcon...
Sharp's LCD Panel Viewable in Sunlight
To be honest, I don’t know. I just assume there must be some doing a good job within all this chaos.
Not sure how this can fly over peoples heads, but the point is marketing.

There is virtually zero disadvantage in making the phones 2mm thicker and add to their robustness and battery life this way.

Virtually zero... except _marketing_ and hence sales.
Full-stack cannot truly exist because of the clash of cultures. Front-end values that which is shiny and new, the latest framework in the latest browser, code 6 months old is already obsolete, code 2 years old has to be rewritten entirely because all of its dependencies are broken now. Experience is not valued because no-one has any in the current trendy tool, it's too new. Whereas back-end values that which is mature and stable, code that is 10 or 20 years old is considered to be proven and reliable, experience is highly prized because it shows its value in day-to-day work. When the cultures crossover you get horrific things like node.js or MongoDB.

That doesn't mean there aren't front-end people who can write a bit of SQL or back-end people who can throw together a simple website. That's fine, those are basic commodity skills now. But everyone has to choose the culture they are comfortable with and that will dictate where they fall on the technology spectrum too.
Class.filter(insurance_end_date < today_date)

Which ORM is that? It would be cool to compare some approaches to common problems.
And why do you think that a lot of people who are painfully aware of all the issues you mention still refuse to use Linux on a laptop while happily using it on servers?

There is a riduculous repetitiveness about this debate. For me and many others, Linux on a laptop has always been unstable, insecure, hot and noisy. Many specific issues can be fixed if you put in the effort, but on almost every dist-upgrade something essential breaks and you're back to square one.

And the response to these issues has always been a mixture of disbelief, denial, accusations of incompetence and pointers to ridiculously convoluted and brittle workarounds. There are bound to be people on every message board claiming to have run Linux for years if not decades without any of the issues I'm seeing on a daily basis and have been seeing for decades on scores of different laptops.

So where do we stand on this? Will we ever get out of this unproductive loop of claims and counter claims while an oligopoly of corporations builds ever higher walls around more and more restrictive gardens?
Have you tried the fsmonitor hook feature that was added in git 2.17? https://blog.github.com/2018-04-05-git-217-released/
Docker on EC2. We had been running bare on EC2 before Docker using a homegrown chroot solution.
Headline: "Did The Nazis Cause Hitler?"
ORM doesn’t have to be slow, but I have seen a lot of implementations like the parent comment. For example, doing a foreach over 2000 rows where an UPDATE would be much, much quicker. ORMs help a lot with developing software, but you need to profile and optimise - in some cases bypassing the ORM.
That has nothing to do with ORMs. I've seen plenty of people write code like:

SELECT * FROM DATA
for each r in result
if r.x > 12
do_something(r.y)

Exactly the same thing without any ORM. If anything ORMs should improve performance for novices since it makes it a lot easier for people to writer better queries that run on the database.
DDN Breathes New Life into Lustre File System
Depends on what kind of optimizations, and on the ORM I guess. The major problems described in the article, like n+1 queries and filtering on the client rather than in the database seem to be easier to fix in an ORM than in hand-written SQL with boilerplate wrappers. (Of course they are also easier to introduce in an ORM if you don't know what you are doing, but such is the curse of powerful abstractions.)

Even things like query hints can be easily applied in the ORM's I know. It is kind of hacky since it breaks abstraction layers - but so is query hints in SQL.

But of course there can be some special cases where you just have to drop down to raw SQL for some reason. All ORM's I know allow this.
Where do you live that your local gov can pay $30M for payroll software?
Commercial Indoor Playground Equipment – Indoor Playground Supplier
Foucault's Pendulum also contain a great (fictional, but clearly autobiographical somehow) account of life in rural Italy during the Resistance.
Tips on How to Choose the Best VPN Service for Your Needs
What difference does using prepared statements make?
Looks similar to Laravel’s Eloquent, which is inspired by Rails.
Funny enough, I was at Beer Park. Needless to say I will not be going back.
> It's important for us to own our own tools, and keep the right to do with them as we wish

At no point in my life have I had any investment in linux, it's not mine. I use windows at work, I develop using .Net-y languages in visual studio.

And I get you're speaking for a different subset of developers on hn. The real ones, who believe fervently in open source etc etc. But you say "us" and I don't think you should be comfortable representing an entire cross section of the internet so blithely.
I say ORM is the correct choice in many cases

I'm still undecided about this. Would be fun to compare some actual approaches. Which is your favorite ORM?
No. It can check whether the operands will cause overflow and issue an error instead of silently giving a bogus result.

It's a performance hit though.

I don't think you'd want a banking app written with assumption that you'll never have more than MAXINT amount of dollars, and adding few more will roll you back to 0 or even put you in debt... silently... because well it works this way, and designer didint think you'll hit the limit. If it ever happened you'd like a siren to go off.
So including Xephyr this is a reasonable way to sandbox a browser? To the same level of reasonable as browsing in any virtual machine is.

Is this sort of thing possible with Wayland? If so does Wayland already enforce the necessary process isolation or does something like Xephr for Wayland need to be developed first?
I don't understand the inconvenience. Isn't it just adding `attrs` to requirements.txt once for the whole project, and then you get more features ever after?
Diesel has something similar (except that it can't overload < (you can overload < in Rust, but the type doesn't match what's needed), so you need to specify it as insurance_end_date.lt(today_date))
Ha. I think it worth.
> Hopefully Systemd won’t mount your firmware on a rw partition and brick the laptop in an unfortunate update?

That's the hardware's fault.
I use an ORM. I don't perform queries like that because the ORM makes it easy to build complex queries, joins, limiting the data returned etc, then execute them in one query, it's a convenience, not a straightjacket.

The problem is not ORMs, the problem is just people not thinking about the resources their query over some data takes, and trying to do things in memory that are better done in the database (as in your example), because databases are hard, and sql is not a particularly friendly language, so they take the easy way out. They'd do things like iterating over all instances just as much if not using a framework/ORM, because they understand their programming language and don't care to understand SQL, and also because they get away with it when there are 1000 cars in the fleet, and didn't anticipate having 1 million.
I have found that people who pay attention to good watches pay no attention to Apple watches.
No, this is not true. Before this conjecture was proved, you could just assume it was true and see if it would lead anywhere. People already do that with the GRH. If it did have consequences, people would use the resulting algorithm regardless of whether the conjecture was true, because we believe to be almost certainly true. But even if you didn't believe that, you could see if the algorithm was effective by applying it to real world instances.
That's a fairly recent development, though; they recently broke up the cell phone cartels that were charging outrageous rates in exchange for very poor service.
ORM for saving objects and very simple queries. Writing SQL or using something like JOOQ in Java to write type-safe SQL for everything else.
The reason "people" keep telling you the same thing for the same problem is because you're either describing a treatable mental condition unrelated to nutrition or totally talking out your neck...

Dietary fat causing satiation is hardly "internet know-it-all" and has anything to do with keto in an of itself. The keto diet does encourage other dietary habits that enhance and strengthen the satiation of those goods fats to control and mollify the specific appetite problem you are discussing. It's a system of effects that specifically addresses that urge (https://paleoleap.com/dietary-fat-and-satiety/).

Not a single example you have retorted with points to anything other than poor blood sugar regulation, poor dietary habits, and insufficient fat in your standard diet (which is totally different than binging on something fatty, in the presence of your admittedly poor diet). You are Doing It Wrong.

A whole thing of peanut butter is not going to avoid the insulin spikes. A whole thing of nuts is not sufficient by itself and likely were nuts with the wrong macros. Cheese is nice, but single source foods are not how you should be eating as a grown up, and that habit is causing the problems (says you).

"It doesn't matter what I'm eating at all" contradicts observable research in every aspect of medicine, basic biology, and the standard model. You're whining from ignorance.
The ORM makes it more likely to do stuff in the application instead of the DB because many queries are hard or impossible to represent in an ORM fashion.

Additionally, the ORM makes it much harder to see what is going on under the hood. For example you don't know if a value of an object is stored in the main table or lazy loaded from a related table. So you have no clue if echo "$user.name lives in $user.city" results in 0 sql queries or one or two.
Yes, lack of tactile feedback sucks (you get it after key is depressed) and the keys themselves are not exactly mechanically stable.

And when you solve these two, the result is almost identical to a scissor switch.
SELECT COUNT(*) should be the one which is resolved by index/metadata
"Because there’s no such thing as a unicorn and there’s no such thing as a full-stack engineer."

Ridiculous to find out I've been doing the impossible for 15+ years now? Somebody give me a raise!
The initial assumption is wrong: Full-Stack engineers are not expected to traverse the whole stack with senior level skills and ease.

Also if you become really good at something you'll realize that actually it is not all about more skills. There's a point where strategic decision making overcomes coding skills.

E.g. 1: I spent years to really learn vim and git indepth. I can write my own git clone and did that before as well. However I have seen so many different editors and IDEs that I'm at a point where I can take whatever is there. I use nano with ease if the situation requries it. This makes me quicker than installing my favorite editor, my configs and then start working.

E.g. 2: The more experience one gains the more one sees that the biggest drag on progress is usually misunderstanding, lack of info, lack of responsibility. So nowadays I do more for my team by creating meeting requests with the right people. For that I need to be able to read all of the source code and docs to figure out where the actual problem is and who really has the expertise to solve issues there. But I don't need to be as good as the topic expert.
> I like the idea of your first try, but it's not guaranteed to work on all implementations,

in C++ you'd just add

static_assert(sizeof(int) < sizeof(int64_t), "fix your types");

to be safe about this
Sure, but the program is well-defined on inputs that do not cause it to overflow. It does not perform undefined behavior in those cases, so it's correct given those preconditions.
> In the meantime, let’s give some other companies a shot. Dell and HP have gorgeous, reliable, repairable flagship laptops that are getting rave reviews. Right now, I think they’ve done more to earn your business than Apple has.

...that don’t run macOS. Not a chance. Do hardware people not realize that running windows or linux (chromebooks excepted) is a usability or malware nightmare (or both)?
Fwiw the coil whine is apparently fixed in newer generations.
Billion Dollar Hippy is a fantastic documentary btw, as is to be expected from BBC Four.
I'll have to disagree with you there: you cannot fully control the range of inputs that you are provided at all times, or perform verification of input. But you can clearly document what conditions the input must satisfy for the program to be well-defined.