skysight-inc/HackerNews huggingface dataset:
If you want some program to finish processing something (e.g. video render), there are programs on both Mac and Windows to keep the laptop from sleeping on demand.

The normal situation, 99% of times, when one closes the lid on a laptop is to not use it, and to not want to have any programs run in the background. You close the lid to put the laptop in your back, take it to the office, etc.

Except if you have your laptop always on your desk and never leaving it. In which case it's not really used as a laptop...
Of course I want this!

Globally installed npm and composer packages live in ~/.npm/ and ~/.composer/ and they both have a global packages.json esque file that I need to occasionally edit. The packages installed in those folders MUST be parsed by VSCode for intelesense to work properly.

All I'm saying is I'm not gonna jump through all these hoops. I'd rather just keep working on my mac.

Hell I'd rather hackintosh a surface pro rather than deal with these issues.

Running VSCode through X is annoying.
If we could simulate it past a certain fidelity threshold, it would seem so.
Sleep doesn't lose any application state.
Befunge at 25 years
> I love HN. It's my only news source.
What about WebAssembly? How would you provide the same guarantees and benefits without JITing or interpreting?
>Society's primary benefit is safety

This is subjective, my favorite benefit from society is guaranteed freedoms. Luckily decentralization also offers a great deal of freedom on the internet :)
I'm all for personal responsibility but I don't think that there is a critical mass to invoke production changes. (Anecdotally) for every one person I know taking the time to be conscious, I know two that couldn't care less.

I believe most people fall into the 'not my problem' bucket.
I can even understand discussing a controversial topic at work.

I still don't see why you would do it with people you don't personally know. If you want to talk to randoms, the Internet is right there anyway.
CloudBees raises $62M
>Is making your co-workers your friend group a new thing?

Friend is a strong word. You might go out to a bar with your coworkers, watch movies, game, attend birthdays. But it's a superficial "friendship". You don't talk about anything deep - that would be a "bummer".
Ask HN: How to get money for remote work done for a US based startup?
I will keep it brief. I got introduced to this startup on angelist and this guy had an idea for which he was looking for software engineers. I was going to be a college graduate within some months and being passionate about Javascript, Python and Startups I agreed for equity stake of 2%.

I worked on remote basis along with another Ukranian developing the product. The tech stack changed with time too. This guy asked for more help in creating graphics, marketing on fb,google, email campaigns, developing contents and what not and I did with my passion as I know in startup arena you have to take more responsibilities.

With time, the product is live now. With time, I realized that the Ukranian guy didn't reveal that he was working as freelancer and he got paid too.

I never asked for money, all I wanted was recognition, opportunity to learn and prosper. After knowing all this, I asked this guy if it will take time to get funding, he has to pay me just like a freelancer so as to continue with the platform and to meet my ends. This guy turned his back now and not even replying to my emails and hangout chats.

I sent him the tasks accomplished over this span of time and just want money for all those tasks I did for him.

I don't know what should I do? Need help
Yes it is a good use of time. Our community (400K) has a green bin program as well as recycling. Green bins are for organic waste. Our community's landfill diversion rate is 81%. Landfill waste only needs to be picked up once every two weeks. We are looking to increase landfill diversion rate through textile recycling.

So yes it is good because it is the only solution we have on hand that is effective. Development of reclamation techniques should be done in parallel to landfill diversion.
By this logic no company that can afford good lawyers would violate any laws.
That clearly is not the case, just look at VW diesel emissions scandal for instance.
13 Misunderstandings about Natural Selection
small nit - the sorting of trash is not the exclusive domain of women. "by making people sort their trash". :-)

(I say this as the household Ph.D. trash sorter...)

Thanks for updating. --the sensitive.
There's several links in the wikipedia article which can make for good jumping off points:

https://en.wikipedia.org/wiki/Simulation_hypothesis
Do you have examples of companies that "work to just make a project better regardless of [their] end goals"? I sincerely can't think of any and don't see a problem with it either.

I skipped the part about giving $$$ because they already did that.
Well your first statement is just your opinion!

A core mission of google is to foster innovation, at the big and small levels. The company considers itself driven by innovation. So how do you grow the next billion users, which is a business goal, has implications in who you hire etc.

Also, a lot of googlers are immigrants, very smart people who have moved to the us. Basic human consideration about their fate is a dilemma. To blithely say it’s “just” a hr problem, well that sort of seems to me like it’s actually a non problem at all.
Here’s to a Night on the Town
Hah, it works quite good. Not as smooth as Safari yet, but definitely good.

Thanks for the tip!
I use a whole separate computer for browsing/documentation. I switch my keyboard and mouse with a hotkey through my kvm, but I use multiple monitors to keep both systems visible at all times. The only downside of this setup is it forces me to reimplement stack overflow answers rather than copy and paste, but I suspect this is actually a good thing.
Ah. I thought it was a normal practice not to nominate Justices at the end of the term, as outlined here by Senator Biden https://youtu.be/cZlzhULrJC0. I guess it should be named Biden option, then.
Note to commenter: you can design a language to never change a function's signature, in which case that language loses the "dynamic" and "scripting" part (okay, maybe just the dynamic part).

Nothing wrong with having ultra-dynamic languages, but you will inevitably trade speed for quirky code in cases like that.
I read that a photoelectric smoke detector gave far fewer false positives and found that to be the case. No more alarms when boiling water or making a stir fry. This one is very affordable, if you have control over your smoke detector.

https://smile.amazon.com/gp/product/B00PS6EFIE/
Common Lisp systems have supported two ways to develop software:

a) fast incremental development of Lisp code. For that one got Lisp interpreters (executing the code on the s-expression level) and quick incremental compilers. Code then tends to be more on the dynamic side with full debug information.

b) delivery of optimized applications for deployment. We got optimizing native-code AOT compilers (using type hints and type inference), block compilers (optimizing larger batches of code), whole-program Lisp-to-C compilers and application delivery tools with tree shakers. Code then tends to be more on the static side with little or not debug/development information.

Between a) and b) there is a continuum of different approaches - often in the same program in different code sections - where compilers may support different code generation strategies.

Thus one can develop using an interpreter or fast incremental compiler, and then deliver with an optimizing compiler.
It’s a self-inflicted wound. You can’t help. They’ll just keep killing themselves.
I thought Apple were the ones originally behind Clang?
> every sounding of a car alarm should attract a substantial tax penalty.

I live in a poorer west side chicago neighborhood and car alarms go off all the time. I am jolted out sleep frequently by multiple alarms going off at the same time. I never experienced this in somewhat affluent neighborhoods, I think poor ppl are more sensitive(no pun intended) to theft so they turn alarm sensitivity all the way up.

So fining would affect poorer ppl more than rich ppl and might be politically sensitive much like the chicago soda tax that was rolled back for this precise reason.
It wasn't really just EFF PR, but it, for what it's worth (IANAL and this is just my opinion), rested on some very subtle points about which reasonable people disagreed. Here's something I wrote at the time:

https://www.cnet.com/news/vmware-and-the-gpl-round-two/
You really shouldn't be adding stuff to "FROM scratch" unless you have one statically linked binary and maybe some config files or something like that. If you actually need packages, you should use something like Alpine if possible.
> The reason C++ is badly designed is exactly to let programmers control how it operates.

The reason is backwards compatibility. C++ has a long history, and mistakes were made in the past including mistakes carried over from C:

https://www.digitalmars.com/articles/b44.html

and C++ tries to fold improvements in without breaking compatibility.
It's not as clean as clang/llvm, but you can see the intermediate steps of GCC with the -fdump-tree-alland -fdump-rtl-all options. The GIMPLE IR is not so hard to follow (not as hardcore as the gcc docs...). Can be interesting to see the effect of front- or back-end compiler options on your code and track down how an optimization work.

You can also write compiler plugins in GCC. Not as fun as clang/llvm, but manageable.
Skyscanner, google flights - I’ll usually have an ultimate destination in mind (e.g. Montevideo), and will then either find an acceptably cheap series of flights by turning off most of the filters, or setting up price alerts. Sometimes I’ll book months in advance, sometimes it’ll be “pack your bags, we’re going to Vladivostok... today!”

Also, my wife scours sites like https://www.holidaypirates.com/ which occasionally have some steals of deals.

Frankly the hardest bit has been organising catsitting.
You say all this as if JS's jit engines (V8, chakra, spidermokey, etc) did not destroy "better designed" languages when it comes to speed and efficiency. The only dynamic language that does not pale beyond what is achieved with V8 is LuaJIT.
Perhaps - but would you even remember it, without the juicy details of what happened? I probably would forget if some service had a few hours downtime a year or two ago, if I didn't know any details to make it stand out from other outages.
To add to the cynicism...
Maybe Linux Foundation will host that as one of their Collaborative Projects? :)
Googling the names given in the article turns up some interesting links:

http://gasoline-code.com/

http://bluetides-project.org/
The 3M joystick mouse might be worth a try, I have tried a model of mouse similar to yours and found that I much preferred the joystick mouse due to being able to rest the side of my hand on the base. With the mouse that was similar to yours it seemed less restful. Maybe worth a try if you haven't tried it. I keep on trying different mice and always come back to the 3M joystick mouse. It certainly isn't perfect, and I miss the Magic Trackpad gestures terribly.
It's never come back for me. Turned it off once when it first came out. I wonder what the difference in our setups is? Never had to resort to third-party programs either.
What Steve said!

Also (and this does apply to Rust to some extent too), if you start pulling in the stdlib for your webapp then you can't avoid compiling in a lot of code (for example the fmt or net/http packages are pretty big - fmt adds around 1MB to binaries on my system here). If the stdlib for any of these popular languages could be cached or included somehow in browsers that'd be awesome, as part of the attraction of using them is having a great stdlib.

It'd be great if at some point they managed to slim it down significantly as I'd really love to replace JS with Go specifically.
Probably don't want to lose their ssh connections.
The labor of running your own stuff isn't that bad. And the labor of running AWS is at least the same, if not more.

I really don't see how AWS wins in that argument.
> It is not a theory that is, strictly speaking, falsifiable,

So in what ways is it a "serious theory"?
FYI, the problem you might read about with lockups when using Ryzen and Linux are related to old power supplies that don't handle the low power settings well. As long as you have a fairly new power supply you shouldn't have any issues. At least this is the conclusion I drew after doing some research before building a 1600 based system a while back.
I have never seen an active work forum that was not about FREE FOOD alerts.

This is likely flowery writing, and all you can conclude is that these forums do exist. That isn't surprising to me, in a company of tens of thousands of employees, that one person would start a group about some sensitive subject or another.
Apple, Samsung Settle After Fighting Seven Years in Court
How do you reconcile the fact you say type systems aren't useful but also that data schemas are useful. SQL is a typed language and it would probably be insane if it wasn't
That's great news, thank you!
I've had 5 Surface devices and have never had any major issues. The biggest issue I ever had with one was dropping it and shattering its screen. I didn't have coverage on it, but Microsoft replaced it all for about $300.
"a decent competitor"

How did it do that? It threw away all the technical and usability benefits it had over Chrome, so I guess it's "a decent competitor" instead of "a clear winner" for some purposes, like it once was. Is that what you mean?
>It is not a theory that is, strictly speaking, falsifiable, but there are ways in which it could potentially be confirmed if it is true.

It's worth noting that most religions are in exactly the same situation.
Are you sure it is Windows not Chrome?

If you closed the lid while Chrome is running, it prevents Windows from sleeping.

https://techjourney.net/chrome-prevents-windows-from-going-i...
Some times you need pioneers to show that bringing a reusable cup or riding a bike isn't the same as going back to Dickensian times. You need people onboard to pressure politicians into changing laws.
Especially if it helps out er... "gaming" in OpenBSD hosted VM's on AMD cpu's. ;)
>If we forced all producers of trash to account for its safe reuse, recycling or disposal as part of the cost of doing business, this problem would disappear quickly. Because here's the thing, the bill always comes due. If we let them skip out on it, then we will be the ones who pay.

There's no easy way to do that, as long as we don't have a single planetary government, and as long as we have trade. The producers are in one country, the consumers in other countries, and there's no easy way to implement policies like those you advocate. You'd have to implement insanely complex treaties, which the producer countries aren't going to sign on to.

Much easier is for consumer countries to figure out on their own how to deal with the waste effectively. That might require tariffs, but that's something a single county can easily implement.

In the end, I see this as a technical problem. It's entirely possible to create mostly-automated plants which can process waste and recycle it. We already have such plants: you can see them on YouTube. We just need to build a lot more of them.
I am soon to be in the market and this is tempting me.
An Airline Fee That Exists for No Apparent Reason
I used this pattern a lot writing Win32 / COM code.
That isn't in the cards for most people considering you can buy laptops for a fraction of the price and also that most people are getting Windows PC's from their employer
>Enough to sound smart in an isolated sound byte at a party, to make other shallow people go, “wow, how do they stay so informed?” but which completely falls apart with even just a few cursory depth questions.

People can get into that habit because the industry has been branded as a fast moving one in which we all must stay up-to-date.

I'm all for calling out shallow people, but let's not pretend there isn't also a bigger force at work as far as that kind of signalling goes.

And naturally people that do these things tend to herd together where no one is going to rock the boat.
I agree with a lot of this. One thing to note is that with this model the recruiter is incentivized for you to take the highest paying job, maybe not the best job for you. As stupid as that may sound (because everyone generally wants to make more money), it also means the first high paying job offer you get, they will probably push very hard (against your own interest) for you to accept it. That's the only way they'll make money.

If insiders (like at The Lobby) are just paid for their time and insights, then there's no added or alternate motive.

I still think the % of salary model is very interesting, but there are probably challenges to it that aren't visible externally. Check out what happened to MissionU, a venture-backed free 1-year college alternative that took a % of your salary: https://www.edsurge.com/news/2018-05-30-acquisition-autopsy-...

They had the best possible founder to do this and $11m in VC-funding, but shut down after their 1st cohort.
Install the Read Across the Aisle browser plugin. I’m the creator, it’s free and doesn’t track you, and allows you a renewable 7-day pass to the WSJ, thanks to a partnership we have with them.

http://www.readacrosstheaisle.com
Languages for Programming – From Punched Cards to Wise Computing
That doesn't mean it's not true though? People habe been claiming the earth is round since 500 BC, yet it's still as true as ever.
Where is the video/audio presentation?

Found it...but unfortunately the recorded button is broken. Why the poster didn't link to it originally is beyond me. Presentation is generally worthless without the presenter.

https://pc.nanog.org/static/published/meetings//NANOG73/dail...
And even then is it "the wrong reasons"? Surely most third party contributions to the Linux core are from people that need a feature or support for a specific use case.
It's still an extremely interesting article imo.

I sometimes read hn as the discussions here can add to articles on topics I find interesting but have limited knowledge on, but the 3+ top comment threads (so far) discussing the title and not content of this article is somewhat disappointing.
Phew! I've been hoarding these for years and I'm down to my last two.

Accurate, fast, and ergonomics that makes five buttons work. Plus the corded version is very * light * this makes flicking a mouse around all day so much less of a strain.
https://mosh.org
“The creators of all this garbage do so because it's profitable”

Isn’t this rather something that market forces demand, i.e. the consumer choosing the cheapest option? Don’t get me wrong, I completely agree with the rest of what you’re saying, I just think that the businesses aren’t as evil as you portray them to be.

In the end, the solution is probably government regulation by subsidizing alternatives and/or a complete ban on disposable plastics. But even then, when considering the planet as a whole, the Western countries are hardly the biggest pollutors, so we need some world-wide collaboration on this.
Golang Books from beginner to advanced
At least here, experience showed that people do not bring stuff back, I don't think mailing it back would be any better: if they don't want to bring packaging to the store, will they carry it to the post office to mail back?

It also seems like a massive environmental waste to ship individual packages of garbage around, when you can handle it locally just as well, and have manufacturers pay for it.
Saying that I have a problem paying $60/year to support product that I'm using daily is kinda ridiculous. Of course if it doesn't have value, don't pay. I've been using tower daily for last few years. While I can do everything I need from console, there are cases where using UI is just faster. So yeah, I'll be happy to pay.
OK, I'll bite.

If the Universe is a simulation (or might be) what is it simulating and who's simulating it? I'd be more interested to know about -that- than the arbitrary details of some measly little simulation itself. You might say something hand-wavy like, "it's simulating itself"... but OK, when I look at our "simulations" they are always highly referential to the external real... er... possibly real... world. Dwarf Fortress could be called a simulation (perhaps one of the better ones!) ... and while I'd be hard pressed to point to the outside world and say it's simulating any one thing with high fidelity, I can point to trees, mountains, water animals, etc. where the creative element is really just tweaking the attributes of these otherwise externally real things. It's hard to simulate what you're you're completely unaware of, unconscious of ... in fact to be conscious at all is to be conscious "of something" and insofar as simulations are conscious efforts at creation, it's difficult to not have some concrete reference that exists outside of a "simulation".

Of course, perhaps, it's the great mystery of God which I'm always told is beyond mere human understanding. Or maybe its simulations all the way down. Or maybe any explanation talking about simulations requires greater leaps of faith and greater acceptance of more and more unlikely scenarios of reality than just saying the Universe is perhaps a metaphysically real place that doesn't require an appeal to "simulation" for explanation.

I think I'll just stick to the simple minded idea of the Universe is a real place and not a simulation. That part of the title is so likely to be true that the author need not feel bad about the assumption.
You shouldn't demand money. It's not what anyone agreed to. He can pay you if he wants, but he probably won't.

You can demand your equity, but there's probably not much you can do to force him to give it to you. He can dilute your shares into nothing, or he could refuse to give them to you.

You've learned a few lessons the hard way: never start work without a contract; don't work for equity only, as it takes years to have any value (if it ever will have value); and accept that some clients will screw you over, and you can't always stop them, even if laws/morality are on your side.
Windows 10 Insider Build 17704 Is Now Available. Here&rsquo;s Whats New
>It may reduce contamination of recycling streams, but does nothing to encourage less production.

Sure it does. If you're going to slapped with a $200 fine every time you screw up with your recycling, and you have to pay by the bag to throw stuff in the landfill, if you have half a brain, you're going to think twice about every purchase you make, and if you really need it. That $1 water bottle that costs you $200 because your kid threw it in the wrong bin is going to make you not want to give your kid another disposable water bottle.

Producers only produce as much product as consumers purchase. Less consumption will result in less production.
I don't think it matters if model make sense. It's about giving money to developers so they keep making great product.
I don’t understand this complaint. What notifications are you getting? The only thing I get is the notice from windows defender telling me a scan completed.
Freshermeat 0.5.0 released
What? By 2016, US companies had extracted so damn much oil from shale that they could finally convince the government that letting them export some wouldn't jeopardize the US's energy security. And this is two years after global oil prices plummeted, in 2014, causing trouble for Russia but really causing trouble for Venezuela.

> you can arrange the world such that they want to on their own

The US government didn't arrange for the oil to be in the shale. I don't know if it funded research into cheaper extraction from shale or if the companies figured that out on their own but even if they did, there are much better reasons to do so than hoping to screw with Russia at some point in the future.
Norepinephrine