skysight-inc/HackerNews huggingface dataset:
From experience, I'm not sure the 40 hour work week is an actual thing outside of highly bureaucratic organizations. In part time jobs like retail or restaurant work, it seems very difficult to get enough "hours" assigned. In professional fields such as software engineering, there seems to be an abundance of possible work. However, I find that even working 50 hours a week is far more enjoyable and easy when compared to a CS/engineering degree from a top school.
"light will go red and a machine operator will come an poke it for a bit until it works again"

This was exactly what I remember, and literally the guy will take a tool that is not a hammer, a screw-wrench, and hit the shit out of the machine like it was a hammer, and then loose some screw, and then bang-bang again, and then tighten some other screw...

Even the young, like 26 y.o. guy , from faraway Sichuan Province thats works doing this will receive a respectul title...

... and will be called a "Gong" (engineer) For example, if the guy's name is Zhao, he will be called with respect even by the bilionaire owner of the factory with the name and title: "Zhao Gong".

Some old Eletric/industrial design like 66 years old are making good bucks still kicking, no one is at Key West drinking margheritas...
He only failed if the end goal was market success. It looks like he did what he set out to do.

His latest model doesn't look too different from the Olympic blade runners. Maybe it should have been marketed as a prosthesis.
I visited a manufacturing plant in Guadalajara Mexico. Holy moly did the people there work long hours, I have high respect for them. Also the air was bad due to lack of pollution controls on the cars. It's a sign of the difference in standards of living between US and them.

Anyway, there is no way that working long hours is good for your health and well being. It would be fine if you did it one time for an exit, but of course there is no guarantee, and the new normal in the tech world seems to be to keep people on that treadmill forever.
In fact, someone does gather this data, though in hours per year, not per week.

And, surprise(?): hours worked has been dropping since the 1970, not rising. https://data.oecd.org/chart/5skA

https://data.oecd.org/emp/hours-worked.htm to explore more.
I never said it wasn't. But like all things there are multiple aspects, not merely 'pros' and 'cons'.
How does || differentiate null from e.g. 0 or ""?
After messing with Elixir for a while, i really enjoyed the piping feature. I’m sure it will be added to js and I’m genuinely excited cause it makes reading code easier for me, given that your function names tell you what the function does
That raw keyboard events are not delivered through SSH connection is entirely expected. At its core, it is a text-only communication protocol. At the discretion of the client terminal, there could be an ANSI escape to enter mode where raw key events are delivered, akin to unbuffered input. But that is nevertheless beyond the scope of what SSH offers.
OP here. Exactly his point. He went on to say that in terms of the net benefit to China in the long run (decades), they may as well have thrown most of the goods manufactured into the ocean, rather than subsidized their creation and export.
Nice addendum.

There is also a link between the nature of the proposal and the internal coach/champion: If its an opaque technical change? You will probably need someone on the ground. If the proposal is a transformation that involves making existing functions obsolete? That will need C-level clout.
Sounds rough, but it fair. You can package your item properly to be safe it the world (costs time and money, depending on fragility), or pay for gentle handling. Similar to how you can carry your own umbrella in the rain, or pay someone to carry an umbrella for you.

I don't want to pay an extra $10 for every shipment.
No, Go repeats the same 3 lines of code millions of times that you should never really have to do. There is no reason you should have to constantly throw in err != nil boilerplate when other languages have Optionals that make this automatic (and typechecked too). Likewise with for loops that could be done much more simply with proper maps and reduces.
A short detour on a sidewalk or grass/dirt shoulder doesn't seem that dangerous to me. Does it happen much that there's no room on the right and the cyclist has to go around the left of the truck?
One question is: would science come to a halt if people are not sufficiently careful, or would scientific discovery just slow down a bit?

I'm asking because there will probably always be something you are not careful about.

So in other words: how bad is bad statistics?
The structure of Norwegian and English are closely related. Most times you end up with something legible by translating each word directly without accounting for context.
An interesting thought for the future is if wasm will make other languages viable on the web. It would be interesting to see if anything else picks up steam as a serious competitor to JavaScript.
JQuery vs. React: The Ultimate Comparison Guide
Decades out? Here's a real world report.
https://www.reddit.com/r/SelfDrivingCars/comments/ab2nqe/way...
I like the pomodoro technique [1], which breaks tasks up into 25 minute work chunks with 5 minutes break between parts. I find I'm able to get more work done because I'm focused on one task.

10 minutes seems like not enough time to really get meaningful work done since it often takes me a few minutes to get back into whatever it is.

I think 10 minutes just isn't quite enough time, so I think I'll just include it as a pomodoro internal. I like the idea of forcing myself to do something everyday, so perhaps I'll schedule two small tasks for the internal, and if I'm making really good progress on one, I'll reschedule the other task.

But I definitely like the main idea here, since I often let things languish because I'm worried about them taking too long.

[1] https://en.m.wikipedia.org/wiki/Pomodoro_Technique
Unfortunately, if you don't see an edit button on the comment then you can't edit it anymore. But props for admitting you're wrong and trying to correct it :-)
>That's roughly why Chromebooks are doing well. The OS is less important on laptops already, for many

Are they doing well? Read some stats to that, but have never seen one in the wild (except in airports, where they rented them to waiting passengers).
>In that case, what would make them "web" apps anymore, as opposed to apps running on a low-level VM and a GPU library? They'd be more like e.g. Java+OpenGL apps. Just that they launch from a web browser? All kinds of non-web technologies do that as well.

Yes, distribution via the browser sets apart web apps from native apps. This includes several advantages that I value very much.

1. Cross Platform: If your device runs a modern web browser than there's a high chance it will run any web app that adheres to open web standards. Browsers are unique in that regard because all major vendors make a good effort of working on and implementing the same specifications. Today almost any consumer device is able to run JavaScript. In the future this will include WASM.

2. No gate keepers: Google or Apple can stop developers from publishing an app on their platforms, but they can't stop developers from publishing a web app. To me that's a central promise of the web and severely limits corporations and nation states abilities to taking control of or censoring content.
A disorderly rebalancing of their economy, which increasingly looks likely, will require the military to repress dissent domestically (at great expense). It will also require that same military to assist the state in repatriating and collecting on financial assets and debt that have been sent abroad. I'm still summarizing, but you likely get the point.
The Baseline Moves with You
I've been experimenting with fermentation on and off over the years. Every time something goes wrong I get so put off that I stop fermenting anything for a year or so. I think the article does a great job at explaining how fermentation really clashes with our culture. Outside of the fermentation context or community you will hear guidelines like having to throw out food that was left out for longer than two hours. It's very hard to consolidate these two. Food safety guidelines in a way are infantilizing us by being overly simplistic and not giving us ways and learning experience that allow us to determine if something is truly not edible. If we get trained to throw out food that's not actually bad, of course disease agents in food become this invisible force that might kill us when eating anything after the expiry date. Let alone something that was on the counter for the week and now has bubbles that somehow look unexpected.

On top of that most of us will have had food poisoning from restaurant food where you didn't actually get to see the potentially spoiled ingredients before it was used in a dish. So an experience where you got sick from food that seemed totally fine to you. You might have actually refused to eat it if you had seen or smelled the raw ingredients that ended up making you sick, but we aren't getting those experiences anymore.
Ask HN: Video talk about leveraging unconscious mind for problem solving?
At some point between about 2011 and 2015 I found on HN a recommendation for an unusual tech talk (probably a keynote). I've been wanting to find it again for several reasons and have tried several times to no avail, so now I'd like to try asking for your help with it.

The (male) speaker de-emphasized coding as such and framed the activity as "solving problems", especially hard problems, and went on present motivations for a series of stages (about 4-5) to improve chances for getting the insights and ideas needed.
Some of the stages were roughly:

- Step away from the computer
Think about the problem. Write and draw about the problem. Engage intensely with it to load it into your unconscious/background mind.

- Stage with "gestation" or "incubation" of ideas. Letting the brain work away at it in the background. Relaxation, quite possibly something about getting exposure to new impressions which can work as building blocks and inspiration for a solution.

- "Unplug" - eliminate distractions while working on the solution. For instance, get rid of background music, keep sounds and interruptions from your colleagues to a minimum.

He possibly suggested "How To Solve It" by Polya and a couple of similar books at some point.
He possibly advocated for intermittently reading research papers and other texts with complex ideas which had taken a lot of work to develop, even if only partially understanding them, again as a sort of building blocks for new ideas and insights.

Do you recognize this?
which book did you get?
> Grid frequency stabilisation would require that.

The grid has a lot of inertia and a motor can go from full load to none, or from no load to extra-high startup load, in a fraction of a second.

So we're back to "just as fast" for this use case.
It isn't that the comments are extremely bad. It is that the same attitude of essentially "not caring about the community" carries over into less controversial discussions. Which makes hacker news very noise for people who do want to have decent discussions, share information or whatnot.

Basically every story will have people who seem more interested of hearing themselves speak, snipe by down voting or one liners, don't make an effort or don't reply at all or can't leave the discussion to those who actually find it interesting. It is those attitudes or expressions that should be moderated, not topics.
Nice. I created a maze solver in js and canvas as well, solving using the A* and Tremaux algorithms.

You can even create your own mazes by passing json in the url.

Simple Maze Solver in HTML5 and Js
http://www.primaryobjects.com/maze/
High Performance Web Hosting. What Is This?
What?

Cheese is already off milk, many have added mold, its a feature.
I get the impression LA and others do this on purpose as a revenue tactic.
I don't understand why anyone would take a job or stay in a job that requires you to work more than you are comfortable with or to work more hours for free. If you are stuck, then that sucks and I feel bad for you, maybe it got sprung on you after you were in too deep, but you gotta make this stuff a priority to you if it matters, find out as you are interviewing, get ready to leave if it's not a fit, and that one thing, despite everything else being perfect, can make it a non-fit.

Maybe I've been through the looking glass because I've run my own startups and seen how others run theirs, I know the stupid culture, and I've had people try to bring me into their startups with the culture, and they reword or candy coat it to make it seem like it's ok and everyone is doing it and it's so worth it, but man, it's just a scam, plain and simple. Everyone running the show knows it.
Democrats dont want to stop visa overstays either (they want to abolish ICE), so how is that an argument against the wall?
I love scala, it’s probably my favorite language. It’s one of the most flexible and powerful languages I’ve ever come across. The downside of this is that it very complicated, I wouldn’t consider myself anywhere close to an expert even after developing with it professionally over 5 years.

In regards to new projects, I do believe people are using it for new stuff. Both Spark and Akka are very powerful libraries that have little parallel in other languages.

Imo, Scala is the most advanced language on the jvm, far outclassing Kotlin, Clojure, and Java in terms of expressiveness.

I would recommend learning it and playing around with Spark. I think the combination is very employable.

Also, Scala is so much fun! I love it!
I wish JavaScript would let me declare scoped variables inside if statements like this:

if (let myVar = exp) {
In a tree exploration, it's very possible to waste tons of time exploring dead end branches and never make it down the right one.
Just curious, if I wanted to setup several working environments and make it as quick as possible to switch between them (programming vs video editing vs photo editing). How would I go about doing that on a Mac to be as quick as possible. Several different programs would need to be open and closed automatically.
How about a reference implementation in itself :P https://github.com/devsnek/engine262
How does this compare to the cement blocks (aka gravity) energy storage?
Amazing article, thanks for posting.
Thanks. Interesting, will check out that video.
In my company we have groups that over the last years have made weekend work pretty much the normal case. Whenever a project finishes management sends out congratulatory E-mails about "sacrifice" and "late hours". It gets really annoying. I can see how sometimes you have to scramble but this should be viewed as management failure and not as an incentive to glorify overwork. As far as I know there is no compensation besides a few pizzas and maybe a $50 gift card.

The evil part about this is that there is a lot of peer pressure on others to also show up and support the weekend workers although they have done their job during the week. It requires a lot of willpower to resist that.
Most other countries have a cheaper rate at night which encourages such behavior, eg Economy7 in the UK. The other device is a Night Storage Heaters which warm up thermal stores like bricks that release heat during the day. https://www.which.co.uk/reviews/home-heating-systems/article...

The US is really behind on Real Time electricity pricing. Smart devices should run when electricity is cheap and avoid in peaks. eg don't run clothes dryer in peak times, heat room at cheaper times. This isn't complicated stuff, some states have started, but should be urgency on this.

I did see some other comment on here that comed provides this. In IL? Anywhere else?
Here are 588 women in the UK who could speak at your tech event
I remember watching the episode "Parallel Worlds, Parallel Lives" on NOVA about physicist Hugh Everett III.

I confess I initially watched it because I was interested in Hugh's son, Mark Everett of the band The Eels.

But it ended up being a poignant look at the also-rans in science. The ideas that failed.

Link: https://vimeo.com/eels/parallelworlds
Ask HN: What are the most legitimate carbon emissions offsets one can buy?
Carbon offsets are controversial, and for good reason. Even still, it seems like it could be a legitimate way to reduce net emissions. Some offsets may merely pick low-hanging fruit that was going to be picked anyway or which may have other poor externalities, but surely some offsets are better than others. What are the most legitimate carbon offsets you're aware of that an individual or business can buy? Are there any permanent, direct-air carbon sequestration offsets? Geologic storage of carbon?
Sounds like he was too focused on inventing and forgot the production/sales aspect. He literally had the product and had thousands of people emailing him directly ready to buy! And he still complains that he couldn’t sell.

He should have realized his personal shortcomings and partnered with someone who had the qualities he lacked.
I meant there "[Once the generator has completed], Consecutive calls to `next()` will always produce `{ done: true }`".

I should probably make it more explicit

PS: I like your n+1 example.
"In the uk I was taught that indicators were to signal intent, not action."

In LA they are used to signal that you just finished crossing 5 lanes on the freeway all at once to get to the exit you almost missed :-)
> turn signals should _not_ be used as "an indicator of opportunity

Are you certain about that?

When I learned to drive, we were told to indicate a few seconds before turning, changing lanes, etc. This communicates your intentions to other drivers. In other words, the blinker says, “I’d like to get in the left lane” or “I’m getting off the highway”, not “This car is currently moving leftward.” Otherwise, why not just connect the turn signals directly to the steering wheel?
Often , the biggest motivation for achievements is self-worth,or ego.

Once you remove that motivation , isn't it much harder to endure and to win against more motivated competitors ?
Checklists are fine if you have a fixed problem space. Just to go by your example - aviation safety is a mostly fixed problem space you can make mitigations in. Any item on the checklist would be there to mitigate safety issues almost any aircraft would encounter (and I'd imagine there are specific checklists for e.g. passenger vs. cargo aviation).

"Linux security" is not a fixed problem space. Not at all. And that's precisely my problem with this - this checklist pretends that it's a fixed problem space, and therefore grossly misrepresents the problem.
Should this also behave like if-let in rust so if the pattern doesn’t match then it acts as false? E.g

if(let [x,y] = thing) ...

Would only be true when thing is an array with two elements (not super sure bow pattern matching is defined in ha. I would guess that actually if the match fails then things get to be undefined which means the match can’t really fail so this would likely be confusing)
In the case you hypothesize, signaling early may be illegal (and so a Waymo care wouldn't do it), but backing off ato yield space to a signaling car is still not illegal, so a Waymo car could do it.
The structure of the English was very good, but there was a few places where it seemed to translate Norwegian as if it was Swedish, and quite a few places where it seemed to "guess" what a word meant.

In most cases it didn't loose much of the meaning, but the sentence translated as "It was even nicer that Mats himself, who was lying in the white coffin, had not met these people either." should be translated more like:
"Even stranger was that Mats himself ..."
or possibly "The only thing more strange was ..." Not fluent in Norwegian so I don't know for sure. But as a Swedish speaker I'm well aware that "rar" ( stem of rarere ) is not translated as nice, as it's one of the more common causes for miscommunication with out western neighbors. In Norwegian "rar" a false cognate with the Swedish "rar", which actually means nice. However, they likely also share common etymological roots, so are cognate and false cognate with each other simultaneously.
Google Interview Problems: Synonymous Queries
Here are things that I've added in Sciter's script (https://sciter.com):

'like' operator that is used as a match

if( obj like /[A-Z]/g ) … // "string".match
if( obj like {name:String} ) … // obj has name string field
if( obj like [String,Object] ) … // obj is an array of at least two elements, string and object.

extended switch() :

switch(obj) {
case 1: … // standard JS
like /[A-Z]/g: … // RegExp, Object, Array match
instanceof cls: … // obj instanceof cls
in [1,2,3]: … // obj
}
Yeah off milk smell is really obvious.

The only thing that I'm aware you should be really careful about is leftover rice. Bacteria can produce a toxin which isn't destroyed by heat and can be deadly. I cant think of any other counter examples to where, if it isn't obviously off, it's ok.
It was required at Sun, in Solaris engineering. Merge commits were absolutely verboten (which prohibition was enforced by tooling) -- therefore pushes had to be linear. Commit commentary had a very specific required format.

Clean, linear history has never been required anywhere else I've worked, but I've done it ever since Sun taught me to. Just because it's not required doesn't mean it's not a good idea, and it can't be forbidden ("what happens on my dev instances, stays in my dev instances", and the only thing seen in the end is what I choose to publish, and it's going to be clean and linear).

Large projects at Sun used a rebase-heavy / rebase-only workflow like so:

+-----------------+
| Upstream "gate" |<------+
+-----------------+ \
/ \ \
/ \ \
v v \
+--------------+ +--------------+ +--------------+
| Project gate | | Project gate | | Project gate |
| (re)based on | | (re)based on | ... | (re)based on |
| build N of | | build N+1 of | | build N+M of |
| upstream | | upstream | | upstream |
+--------------+ +--------------+ +--------------+
^ ^
| /
| / ...
v v
+-----------------+
| dev clones |
| |--+
| periodically | |
| rebased --onto | |--+
| next rebasing | | |
| of project gate | | |
+-----------------+ | |
| ... | |
+------------------+ |
| ... |
+------------------+

In large projects individuals tracked a project fork of the upstream, which forks were periodically rebased onto the latest "build" of the real upstream, and the individuals' forks of the project "gates" were rebased onto the latest project fork as needed. At the end, when all the i's were dotted and t's crossed, the tech lead would push the project gate's linear history additions to the upstream.

We did this with early 90s tech known as Teamware, with lots of scripting on top. We later did it with Mercurial (again, with lots of scripting on top). Mercurial was a mistake. Git is much, much easier to use this way than any other VCS I've ever worked with, which for me includes: CVS, Clearcase, PRCS, Subversion, Mercurial, Git.
An in-depth introduction to HTTP Caching: exploring the landscape
I like the small number case: they use a very old logic minimization program to generate the equations for it:

https://en.wikipedia.org/wiki/Espresso_heuristic_logic_minim...

Otherwise it's taking 32 cycles to do the division. There is a count for this.
Hammock driven development https://www.youtube.com/watch?v=f84n5oFoZBc
What part of that thread/video series are you calling attention to?
It may be more efficient to time shift heating loads than to time shift electrical availability with batteries.

If heating loads are a significant amount of the total load, then this would help reduce the need for peaker plants or battery energy storage. And, if done properly, it provides a cost savings to the utility user too.
What about Wayland?
‘Golden Girls’ trend could be a golden opportunity for retirees facing isolation