skysight-inc/HackerNews huggingface dataset:
That is entirely dependant on the hardware. Some machines could, some couldn't, and some could but mucked it up.

The Spectrum couldn't so you either wrote to the live video display or used some method of copying.

The QL could in theory switch video display between two buffers but they put a section of IO/System memory (I can't remember the details) in the middle of one of the buffers so it was useless.

Some systems also had hardware sprites which weren't part of the main video ram, they were overlaid by hardware. You could also do some fun stuff with those such as rewriting them as the scanline progressed down the screen to fudge a lot more hardware sprites.

I'm out of the industry now but one of the major parts of games programming was pushing the hardware way beyond what it was designed to do. Now, as far as I understand, you write for an API.
Bootstrapping a compiler is fun. I wrote a self-hosting compiler for the Oberon-07 language, targeting the JVM: https://github.com/lboasso/oberonc

Initially the project was written in Java, after enough features were working the bootstrap phase could start.
They have plastic inside them.
Have you seen the previous fad? Data centers full of idle servers.
The idea is to make a pack cost 0.2*num_of_cigs_in_pack more dollars and then when someone returns butts, they can receive that money back. It will not be a subsidy and even if the butts were thrown in the trash afterwards, it would at least lower litter.
There are, of course, some early risers who don't do this. But yeah, the ones who do are pretty unbearable. I had a neighbor who boasted of how she woke up at 4:45a to work out. Of course, she fell asleep in front of the TV at 8p...
UBC researchers have found a way to convert any blood type to the universal O
> People want to work on things that will help change the world and improve the quality of lives of other people, not make it easier to kill.

Plenty of military/government projects have changed the world for the better (ignoring geopolitics) including: modern surgery, the internet, GPS, cellphones, microwaves, canned food, duct tape, etc.
This is way too long! A resume should be no longer than one page. Look up resume templates for jobs you are interested.
Likely due to volume vs pieces.

By volume, I believe fishing nets are the largest polluter, but likely if you counted the pieces, cigarette butts might be higher.
Personally I find that trying to work at 3am is a bad idea. The backlighting (no matter how much blue-light filtering you have) will wake you up, and even if you solve the problems that are keeping you awake now, you're almost guaranteed to get back in bed with new ones to be thinking about.
And now the shop has a shed load of cigarette butts that they need to get rid of at their own expense, and no extra money to show for it.
The Nuclear Power Plant of the Future May Be Floating Near Russia
Yeah, but it also says "such as", so it might not be exhaustive.
While I agree with the author with respect to his main point, I think the term leaky abstraction side-tracks the discussion. It is simply about wrong abstractions.

See also: https://www.sandimetz.com/blog/2016/1/20/the-wrong-abstracti...
I linked to this one because it is relevant to Elm, also because I now work here :)
Borrowing Safe Pointers from Rust in SPARK
But isn't a CV supposed to be long? This is not really a resume in my opinion
A good example are SQL queries. You can have two semantically equivalent queries i.e, two queries that will always return the same results.

However, runtime may be dramatically different. One may take a second, and the other one days.

That's because SQL is an imperfect abstraction. It isolates you from the underlying details on how to compute the results of a query, but only to some extent. On many occasions you need to actually understand how the declarative query is translated into an execution plan.
Recovery rate of deposit programs is generally not 100%, which leaves the shop with some surplus deposit funds that can be applied towards managing the butts.
That's the thing about regulations: it doesn't matter if the store likes them or not.
People keep looking for silver bullets... or thinking they've found one.
It's not totally standalone (it has kernel components, for example), but yes, it's clearly something far easier to suddenly drop.
Would it smell worse than the smell the smoker already carries? I suppose it might, since some smokers are pretty careful not to get the smoke on their clothing. (You can still smell their lungs for like 5-10 minutes afterwards, though.)

(And... sorry to any smokers reading this. Not trying to shame you, but I want to be realistic about whether this would work or not.)
I know this is territory that gets rehashed every time someone says "hey, I like tool X..." but I still get a kick out of browsing these threads to see what tools people are using.

On that front, I've been using ZIM: https://github.com/zimfw/zimfw

I also recently added sandboxd so certain things are not run during shell init (rbenv/pyenv/asdf/etc): https://github.com/benvan/sandboxd
Juul is much more a gen z thing than millenial
For me at least, clicking on discord message notifications on the mobile app directs you to the correct channel, and I haven't ever experienced discord hanging on the loading screen on my Linux machine, over the two years since I got discord. Outdated info perhaps?
My impression is that it's largely from people littering, i.e. _not_ using garbage collection devices in the first place.
> It was pretty stupid of developers not to encrypt the password!

You are being very unfair to that era. Even cutting edge software like Norton Utilities did the same, although they XORed the passwords. That passed as encryption then.
Oh man, I love your explanation. Indeed the burn have many reasons and one of them is company see employees as a code in the system. The business of the business is get business. At the end company want profit so irrespective of whatever they say or do; they have to leave humanity and just be a manager.
I worked for Google at the time they went through the cookie iterations in the cafes. Personally I disliked all the cookies that ever came out of this project, mainly because they contained spices, I heard the same thing from many others.

After you got handed a cookie you were asked to fill out a feedback form on a tablet, which almost always is annoying.

But more importantly, the process of optimizing the ingredients left out many parts of what makes food enjoyable, temperature and texture for example.

I know this was meant to be a fun showcase of ML but to me this is still my favourite example of explaining misuse of ML technology where a simpler statistical model supported by expert opinion would have outperformed the taste of the cookies. Eg, any cookie expert might know that the number of people who like spicy cookies is only a small subset of all cookie lovers.
I'll pick a couple that are easy to describe. First a simple string function: "softEquals(a,b)" that compares ignoring case and leading and trailing white-space, similar to "return trim(upper(a))==trim(upper(b)). The second is to "draw" an HTML button and/or hyperlink because often the user or designer change their mind about whether it's a link, button, or icon: link(title, url, httpType=[hyperlink,submit,get,reset], dispalyType=[hyperlink,button,icon],target="",classes="",otherAttribs="",buttonImg=""); Those with "=" are optional named parameters or optional object values, depending on the language of implementation. I'll usually tune it to app or shop conventions, which can shorten the range of variations or likely defaults, and thus simplify the interface. But the implementation is mostly the same: just the interface needs trimming/tuning. Or just leave the fuller one intact for edge cases, but create short-cut versions better fitting local conventions.
it's all fun and games until someone figures out they can make cigarette butts and turn them in for money
I've noticed if you are passionate about something, you don't track time, you don't care about your surroundings and lose yourself in what you are doing. That's when productivity happens and it doesn't respect sunlight always. However, it is easier on most human beings to have a circadian rhythm aligned with sunlight and workout first thing in the morning to jump start the day. It is more sustainable in the long run to do that to have a healthy routine from my perspective and backed by research. Shawn Stevenson has some good insight on that to get you started.
> Hanzho is 22 million people, Shanghai is 32 million people, Nanjing is 12 million people.

If you're counting like this, you're over-counting radius and doubling up. Sue the region is populous, about 80mn in that radius but including Nanjing means a 45 minute ride on high-speed rail (400km/h) from Shanghai.

BTW spelling : Hanzho -> Hangzhou

And missed Wuxi ;)
Getting dev environments set up and debugging obscure error messages. Persistence/stubbornness to fight through these obstacles is one of the most important traits for programming.
I believe the original parent is refering to the idea that people naturally wake up and do stuff in the middle of the night.
So I'm confused. I get the wear out level not going lower than 1%, but that doesn't mean the drive failed, right?
Volume of people traveling to a given place lowers the cost.. This also exists in the U.S. It's cheaper for me from SF to fly to Lima, Peru than to Knoxville, Tn.
VMware to acquire startup CloudHealth in push to grow cloud offerings
Those explanations are awful. The reasons are usually pretty simple and sound much more reasonable. The answer is not “I don’t know” in any of those cases - it’s going to be pretty clear that they share some similarity to other cases of theft, cheating, etc, and this will probably be obvious on examination, “our system flags people who are wearing masks” or “these 30 seconds of sounds are almost exactly the intro to song X”. Human review is also useful, but humans make plenty of errors as well (and the response is often “I don’t know why”!).

I’d say these errors are not due to the inscrutable nature of ML but bad communication.
Grab Facebook’s CSRF Token Through Their “Save to Facebook” Chrome Extension
You can get pocket ashtrays for use when hiking or skiing. I don't smoke so don't know whether they smell or not.

The tax could help reduce the number of butts that are thrown away in wilderness areas too.
Indeed, core memory was invented by Jay Forester for is operational research in city planning!
Internal app-specific storage is private. That's all it needs to do.

I'm not sure holding a lock even works to prevent file renaming on most OSes...
> I wouldn't be surprised if the rendering was even made a bit slower

Trust me, everything was flat out then. I posted a link in another reply about something similar. Have a look at this flood fill, this was zipping along at full speed.

> There are a couple of good examples at 4:57 onwards. Link at https://www.youtube.com/watch?v=3f3PFfK-9Gk
Automakers invented the crime of “jaywalking”
Visualization: USA vs. Russia Arms Sales from 1950 to 2017
They're not easily understood though. The upfront knowledge cost is high and they can be difficult to debug with the zoo of things from libraries like rxjs
Fwiw, I put my screen in darkroom mode and use nothing red bulbs in my evening lights.

It's very easy to avoid bluelight while you work. However, as you mention, that's only half the battle.
A rule of thumb for Hacker News submissions used to be that when getting to the front page, every score point translates to about 100 sessions/pageviews. In this case (17000 sessions for a 315 point submission), it was only about half that ratio.

That new ratio has been the case for a few of my recent submissions as well. I wonder if something changed in the HN demo?
In the summer time in various forest towns in California, some of which have had major fires recently... I see probably 20 grass fires a year. All of them start next to the road.

I actually think the perpetrators are not that we have 1000 smokers, there are probably just a few REALLY bad people that don't care. They are also the kind of people that if you started to put up signs about smoking and fires, they would start throwing lit matches out the window.
1) I was much like you. My performance in college suffered as I couldn't rouse in the morning. I recently discovered I actually did have a medical problem affecting sleep quality (partially obstructed airway from childhood injury). Can't help but wonder how things would be different if I'd figured it out sooner.

2) Had a kid, and sleeping in late is simply no longer an option. Which makes me think that despite how I covet late nights and sleeping in, it really was never the natural order of things, at least for adults.
BMI just hits the tare button on what it means to be broke.

You need no further evidence of what happens when you dump funny money into the market beyond looking at the rocketing cost of housing and education. The current result is what you get when everyone has access to a fixed amount of money.

It doesn't level the playing field, it just elevates it.
> All humans have a hardwired dip in midafternoon alertness.

In my personal experience, if you don't have a post-lunch carbs crash and you do have air conditioning, the dip doesn't exist.

He doesn't really seem to back up the existence of a biological dip at all that is innate to human rhythms.
I’m in general agreement that Rx is, in practice, not an improvement over most other approaches.

But:

> How do I cancel this stuff

Everyone I’ve ever heard describe Reactive pipelines describes built-in, standardized cancel behavior as the raison d'être for Rx!

It’s super common to encounter a one off someone thought would never get called more than once in a while, which actually piles up a huge serial queue (or worse, creates dozens of threads while concurrently contending for a resource that’s serialized in a less than perfectly transparent way).

So in those cases, knowing all your interfaces explicitly include a cancellation token is pretty appealing.

Of course, in practice, lot’s of people don’t bother to wire together the cancellation bits, so you’re left thinking you can cancel things but it doesn’t actually do anything. So maybe that’s what you meant...
Wouldn’t be the first time: https://en.m.wikipedia.org/wiki/Cobra_effect
Resting Heart Rate Statistics from Fitbit Data
Well, there's a big gulf between "toxic" or "impossible to stand" and mere "inconsiderate".
So you then have periods where you sleep during the day? Work for yourself or have a very flexible employer?
How to Train a Dog to Walk Up Stairs? – 5 Easy Steps
Sounds like every olympic stadium after it's been used once
Try adding more than two songs, ideally 50 or more to give the AI something to work with. I'd recommend picking a YouTube playlist.
How is organic plant material in the ocean, anything but an esthetic problem?
> If the next buffer isn’t quite ready in 1/60th of a second

As a UK developer this caused a real problem writing for the US market. We'd wring the most performance we could developing on the 50Hz refresh rate we had here in the UK and suddenly lost 20% CPU time for the US market. Not always a problem but certainly it was a consideration in how screen refreshes were timed.
GAME OF THRONES SEASON 8 TEASER 2018
The learning aspect could be how many principal components to use ?
How long it will take CMAES to solve 10-dimensional Rosenbrock?
Here, it takes about 700 function evaluations:
https://indiesolver.com/tutorials/rosenbrock_python

Please note that their work is primarily for expensive optimization where you cannot afford millions of function evaluations like you would need on rotated Rastrigin to solve it exactly for n>64.
That's the thing about a democracy, it's hard to screw over small vocal minorities (which the convenience stores and tobacco companies would be if you tried to screw them over). A minority (such as environmentalists who care strongly enough about this to want a law) can't just rule by decree. The environmentalists would need more resources (resources = money and people who care about the issue) on their side than the convenience stores and tobacco companies have on their side in order to get a law like that passed and in practical terms that usually means getting the apathetic majority to not be apathetic the issue at hand. I see that as being very much an uphill battle in this case since the law is against the self-interest of every smoker who would have to bear the cost at point of sale.

Pursuing biodegradable (in a non-geological timescale) filters is probably a better all around option anyway since even with a deposit not all soda cans make it back, compliance for something like cigarette butts would be far less because of the issues outlined in the article.
Price control for a scarce resource (eg. land) will lower the price for people who are better connected (friends of the seller, same religion as the seller, etc) but will make the cost impossible for others. The solution to the housing problem is to build more houses.
Thank you for the book!
The chapter on the prototype pattern was the first time that I fully grokked the Factory pattern.
And, your's is the only resource I've found that has thoughtfully constructive thoughts on singletons.
Actually that was caused by a rogue FB tab eating 100% CPU. [Sigh...]

All fine now.
as an early riser myself, what bothers me about this is that I personally feel like I'm only talking about because someone else is making a big deal out of it. I don't think I go out of my way to bring the topic up, but I'm constantly getting people saying things like "omg I saw when you sent that email/made that commit/whatever, do you ever sleep", and then I gotta say something like "well I was up at 5 so I knocked it out before I drove in..." and now it's a thing we're talking about and I'm the crazy guy.

It feels like a much bigger issue to late-risers than early-risers.
I am an early riser. One issue I have is that I am very sleepy around 2 pm. I hope siestas are seriously studied, and the stigma on them removed.
>And the 62% figure “certainly is consistent with there being a problem” in the field, he says. “It seems funny that there’s been a drift in standards to the point where 62% seems very respectable.”

I'd sure say so. Statistics in science is just so broken. Lots of inappropriate techniques chosen on tradition, ignorance (or concealment) of multiple comparisons, the base-rate fallacy, etc, etc. It's not just social sciences, but medicine, biology, and just about every field that relies greatly on lower-power studies.

Bayesian techniques are really called for in those situations.
Yes - a lot worse. And, yes, I know that's saying a lot. Another way to put it is that the only time I ever didn't find spent butts to reek was back when I was smoking three packs a day and couldn't smell anything.
In Europe where people get their deposit back for bottles, the homeless (interestingly, not just them, a study in Germany said it also gave bored pensioners something to do) look in trash cans to find bottles to return. I remember reading an experiment where a city (I think in Canada) implemented a trial program to give people 6 cents per cigarette butt: they spent the money marked for the returns quicker than expected because the homeless people collected butts diligently.

It's a bit of a crazy world to make the homeless clean up pollution other people make, but even without this program there are (and will) still be homeless people...
Steve was once asked about Apple's commitment to Java by one of the engineers working on it. SJ called Java "a big, fat pig." It was on its way out of the OS within the year.
Most of the trash comes from Asia ... trash ends up in rivers, then the ocean.

https://www.dw.com/en/almost-all-plastic-in-the-ocean-comes-...

https://bigthink.com/robby-berman/where-is-the-plastic-in-th...

https://www.nationalgeographic.com/magazine/2017/04/explore-...
You can only answer that with respect to a specific usage of the abstraction. An abstraction that should abstract from different implementations A, B, C is leaky with respect to use case X, if the implementation for X still needs to know about differences between A/B/C.

A good abstraction is not leaky for most use cases. A bad abstraction is leaky for many use cases. The main issue is that you can't foresee the use cases, so premature abstractions usually turn out to be leaky.
I saw it by my own eyes when I was child. Old wooden fence started to burn after cigarette butt landed at it in hot summer. Wood was dry and hot in direct light. I saw little smoke first then smoke disappeared, then, after couple of minutes, clean fire.
Yeah, there's no amount of bigoted "Haskell uber alles" posturing that can replace a simple, supported argument. None of the reading you think you've done, and I haven't, has succeeded in distinguishing your output from that of a complete poser.
They are biodegradeable, and do so in under 2 years. It is still littering and lame, however. I stopped asking people at yhe lake, but most ask me what I'm doing after the 1st couple p/u's & I explain I don't come out to look at trash, enough of it in the city. I then offer to share my cup/bottle/pocket to store theirs w/ mine.

Source: Poster on the wall in the Yellowstone NP gift shop.
Real Programmers Don't Use Pascal (1983)
nice - as you say, would be better if the Abba track was lower in the mix when it first comes in, but the timing and parts used to bring it in are spot on.

Perhaps the algorithm would do better with better quality versions of the track rather than youtube quality?
Stuck on spinner when I visit the site
Ask HN: Is there anywhere to have civil technical political discussions?
I'm not talking about Phd level, but not the comments section Fox,CNN either. I like the tone of this community but, obviously it's off topic. Even though it is one of the most complex systems on the planet and could use innovation.
Whetlab was the first startup in this domain. Then, followed by SigOpt (https://sigopt.com/) which is doing a great job at popularizing the concept.
NYC is conspicuously missing...
If only we could make air tight containers of some sort.
If I wanted to actually run this compiler, how would I build it?
So sorting is a leaky abstraction? Because merge sort and bubble sort can both have the same interface, isolating you from underlying details...
It seems no one uses their car ashtray anymore, either -- probably because it makes the car stink.

So they hold the cig outside their window, tap the ashes into the street, and often flick the butt into the road. I sometimes wonder how many lit cigs get dropped by accident into the road.
The interesting thing is that the programmer's tendency to abstract and future-proof their code mirrors the late 19th and early 20th centuries' high modernism movements, as James C. Scott analyzes in Seeing Like A State and Michel Foucault discusses in depth in Discipline and Punish and others.

"Modernism" is basically characterized by attempts to predict and control the future, to rationalize and systematize chaos. In the past this was done with things like top-down centrally planned economies and from-scratch redesigns of entire cities (e.g. Le Corbusier's Radiant City), even rearchitectures of time itself (the French Revolution decimal time). The same kinds of "grand plans" are repeated in today's ambitious software engineering abstractions, which almost never survive contact with reality.
I have the same problem but you can always use the combination of cmd+shift+esc to mark everything as read.