skysight-inc/HackerNews huggingface dataset:
If my employer paid me to work on my pet projects, and the pet projects involve things that keep me interested and grow my skills in ways that are beneficial to me and my career prospects, I'd stay put.

It'd be a different matter, if you truly weren't doing anything worthwhile or working on something that is not progressing your skills in a good way.

If you can get paid more to do what you do now on your pet projects, I'd obviously jump if I were you. I'd also spend this downtime looking around and potentially getting some practice on interviewing. Put your resume out there, and see if anyone bites. Even if you don't get offers for better jobs, you're getting a good idea of what employers are looking for, and keep your interviewing skills up-to-date.
I think Java only started shipping native Linux thread support somewhat later, maybe in JDK 1.3.
It's occurred to me that asynchronous programming is essentially just very lightweight green threads with the added benefit of scheduling tied directly to I/O.

Synchronous programming is typically much more natural. It's too bad no languages have opted to abstract this away. Of course I suppose coroutines are kind of that.
Ask HN: $200k in savings – SaaS or ETFs or stocks?
I have around $200k dollars in savings. I plan spending the money on the following but not sure how much on what.

1) Bootstrap a (singlefounder) SaaS / write ebook
2) Invest in ETFs
3) Invest in Stock

Goal is to live off passive income but be able to "earn more" if I get a family etc.
https://www.youtube.com/watch?v=WWaLxFIVX1s
I basically outline what's important to the business (per development cycle and complexity) and try to stick with frameworks whose devs are explicitly wary of breaking changes.

Based on these, my stack is simply React/Redux on the front end.

Disclosure: full-stack, technical co-founder.
A whole handful because they all bring something different to the table:

- Dishonored 2
- The Witness
- The Talos Principal
- Batman - Arkham Knight
- Shadows of Mordor
- Transistor
Is the spread of African (aka "killer bees") a possible reason why?
C program to print diamond pattern
Erlang does a different thing called "reduction-counting": the active process in a scheduler-thread gets a budget of virtual CPU cycles (reductions/"reds"), tracked in a VM register, and part of the implementation of each op in the VM's ISA is to reduce that reduction-count by an amount corresponding to the estimated time-cost of the op. Then, the implementation of the call and ret ops in the ISA both check the reduction-counter, and sleep the process (scheduling it to resume at the new call-site) if it has expended all its reds.

(If you're wondering, this works to achieve soft-realtime guarantees because, in Erlang, as in Prolog, loops are implemented in terms of recursive tail-calls. So any O(N) function is guaranteed to hit a call or ret op after O(1) time.)

If you're writing an Erlang extension in C (a "NIF"), though, and your NIF code will be above O(1), then you have to ensure that you call into the runtime reduction-checker yourself to ensure nonblocking behavior. In that sense, Erlang is "cooperative under the covers"—you explicitly decide where to (offer to) yield. It's just that the Erlang HLL papers over this by having one of its most foundational primitives do such an explicit yield-check.
Snoring definitely correlates with apnea (your airway is already narrowing enough to "snore"). You could rent one but you wouldn't know the optimal pressure settings without a titration sleep study. You could try renting an auto adjusting machine and set the window wide open so that min pressure is the lowest possible value and Max pressure is the highest. Then if you look at the data and see that the machine had to increase the pressure while you slept with it on, you know you had a disordered breathing event(s). The machine reports back AHI but it really means that you stopped breathing and the machine couldn't treat you effectively because the pressure wasn't set correctly, but it doesn't report apneas that you would have had without wearing the machine to begin with because at pressure, it has no way of knowing/measuring them, if that makes sense.
X, the Moonshot Factory (formerly Google X)
My stomach would give out before the rest of me.
Factorio + Rimworld. Both great simulation games, both continually improved upon and under active development.
Wow, thanks for the references. My experience was 10 and 15 years ago, and the newer dressings sound great.

Conclusions the first link: "silver sulphadiazine (SSD) was consistently associated with poorer healing outcomes than biosynthetic (skin substitute) dressings, silver-containing dressings and silicon-coated dressings".

Results in the second link: "Many dressings showed superior healing properties compared to SSD, but no dressing was able to show a clear benefit over SSD regarding infection. The number of dressing changes, pain and patient's satisfaction are more favourable in the newer dressings, especially with solid and biological dressings."

These were certainly the critical factors for me -- reducing pain made it easier to keep applied. Reducing number of changes is icing on the cake.

For deep burns, debriding the wound is an extremely painful process. If the biosynthetic or silica materials reduce that, it'd be a huge advantage.
Have you told your boss you have time to do more? Tell us about your interactions with your direct supervisor.
Knew about Frank medrano, but didn't know about others. Thanks for that.
Why exactly should a luxury good be subsidized ?

If the importance of providing people with a way of earning money is so important, why not just cut the middle-man and provide life income ?
The Jobless Future (2011)
> My point would be to do whatever to improve interop. At the least, focus on ux. Intrinsic quality of the code does little to address this, as much as we developers want otherwise.

Intrinsic quality of the code allows the developers to change the code faster and with less risk of breakage. This helps them address everything else, including interop and ux.
The question was what I find most impressive in a portfolio, not what I require in a candidate. "Soft skills" on top of good engineering is extremely impressive.
Erlang/Elixir's are preemptive.
Russian explorers find 'swamp' of Soviet money
Zelda, Dota 2, Factorio, Team Fortress 2, and Quake Live.
I used to think the evenings when the whole family is asleep was the best time to get in the zone as well. But then I would be up until 3am and have a hard time sleeping. Grogginess would linger around the next day, and my wife and kids would get the short, irritable side of me. I felt I was constantly fighting to be productive.

Now, I have an exercise routine in the mornings. I wake up with my 2 daughters (both under 3) at ~7am and immediately setup for a 30min workout video. The kids love routine, so they adapted very easily. I make breakfast after cooling down, my wife is able to have a peaceful shower, then around 9am she takes over. I think that moment to herself in the morning helps her to reset for another crazy day.

Now I hit the shower and my mind now starts to lock in. I start creating a mental agenda of what I need to get done. Feeling rejuvenated, I hit the ground running. Creativity and focus now flow naturally throughout the day. I usually feel super productive and accomplished by dinner time. It is easy to let go and be ready to join the family. Sometimes I continue working through dinner, but no screens after 10pm has given me massive productivity gains.
The Witness is pretty fun. Some of the puzzles take me a while to grok, so I play it every now and again.
Prolog has a beautiful, powerful idea at its core: Resolution. Datalog shines because it doesn't try to overreach and focuses on making this core nimble and expressive in a domain excellently suited to resolution. Prolog tries to be general purpose and is all the worse for it.

Eventually the ideas in Prolog will make their way into a general purpose language where the relationship between the logical components and the algorithmic components of a program is harmonious instead of a constant conflict.
Beans don't help you when you are avoiding carbs. Nuts are insanely high in calories.

If you are eating around 1800 calories a day and trying to avoid cards, there aren't many options.
Discussion from 6 years ago: https://news.ycombinator.com/item?id=2851470
I suggest that you move on. Staying in your current position is not good for your self esteem. It might make you or your brain lazy. This will make it harder to find a new job. And of course there is so much (fun things) to do out there. Take the high road.

Good luck,

Stephan
For online multiplayer I like playing mindless games like Halo or DOOM4. For single player... I struggle to think of the last good campaign I played, probably Hitman Absolution because it felt like a movie whilst also having entertaining gameplay.
You could use fibers to implement green threads; you could also use fibers to implement coroutines.

There's an abstraction mismatch between the terms, though. Green threads is having separate threads of control (meaning separate program counters and contexts like stack and registers) running concurrently, with switching controlled in user space, whereas OS threads switch in the kernel. It's a description of an architecture. You could implement green threads in a VM, where the program counter and context is switched by a VM loop, yet the VM interpreter itself might be single-threaded. Or you could have multiple VM interpreter loops implemented using fibers, and switch between them that way.

Fibers are a way of switching program counter and context explicitly in userland. Like I said, you could use them to implement coroutines, iterators, or other code that resembles continuation passing style (like async) instead (the context being switched includes the return address, which is the continuation - the RET instruction in imperative code is a jump to the continuation). Fibers let you hang on to the continuation and do something else in the meantime. But they're a low-level primitive, and confusing to work with directly unless you wrap them up in something else.

Here's a chap who used Fibers to implement native C++ yield return (iterators) similar to C#:

https://www.codeproject.com/Articles/20015/Yield-Return-Iter...
Factorio and Dawn of War 3
That will solve the AI understanding you, but still won't make me more precise and clear in my instructions. Yes, the AI can hopefully infer the rest, but even then, I can currently type faster than I can speak. Will the AI be able to infer enough of what I want that I can say substantially less and have the AI still get it right? At that stage, why not go all the way and remove me from the equation completely?
I had the original Witcher 3 on my XBox360, with no DLC. I just started playing Witcher 3 Complete Edition on my PS4. Currently level 5 and really enjoying it. I get maybe 6 hours a week to play, so it will take a while, which is fine with me.
Although having perspective is important, nothing the original poster says implies he/she lacks perspective. Your advice is off topic, and implies he/she should take the $100k without giving reasons as to why or why not beyond a description of your own personal situation. That's why it's bad advice.
Counter strike but without voice. Helps relax
Where i grew up (India), eggs was considered non-vegetarian. Maybe he didn't miss it.
Scssfmt – Standard SCSS code formatter
Global+Vitreoretinal+Surgery+Devices+Market+Drivers+and+Challenges+Report+2021
Cannes Film Festival 2017: List of Winners, Thoughts and Reactions
OCaml for the Masses: why the next language you learn should be functional
The Legend of Zelda Breath of the Wild. Admittedly, part of that's because I'm messing around with different quest/dungeon orders and NPC interactions, but damn, that game can keep you playing for hundreds of hours if you let it.

Maybe I'll stop when that rumoured Mario & Luigi remake comes out. If not, probably when Super Mario Odyssey is released.
LoL, Overwatch
That's fair. I don't have an issue with Houdini if it's actually used to create custom layouts that you can't reasonably do in CSS.
Zelda.
Sensible Soccer
Her paper on history of PL is really good too (1972) http://dl.acm.org/citation.cfm?id=361485&dl=ACM&coll=DL&CFID...

I can't believe how little coverage her passing has caused.
Technically the full name of Dwarf Fortress is Slaves to Armok: God of Blood Chapter II: Dwarf Fortress so their not too far off.
Faeria - beautiful card/board strategy game for PC. It's free to play.

https://www.faeria.com/
https://upload.wikimedia.org/wikipedia/commons/thumb/3/3b/Pa...
It would be funny if someone creates a cryptocurrency by forking Sawtooth or Fabric.
The inevitable future of Slack is your boss using it to spy on you
RecRoom
Nuts are pretty high in calories though. 100g of mixed nuts contain ~600 calories. That's around 1/3rd of my calories gone. Compare that to a chicken breast, 100g of chicken breasts has 165 calories.
Nothing. It's a minimal blockchain.
Good post, in particular splitting out the differences between explicit syntax vs expressive syntax. I myself am quite fond of expressive formal systems, but equivalently useful explicit systems are much easier to pick up even if their ruleset is larger. One has hack-y corner cases but generally keeps you on the rails, the other has the hacks as the rails and expects you to not fuck up where you're going. Or something like that.
Total war: Warhammer
Show HN: Viewflow 1.0 – BPMN automation for Django
PC: The Witness, Portal 1+2

Mobile: Super Hexagon, Glitchskier, Alto, hocus, Snakebird
Shadow of Mordor, Tomb Raider, Watch_Dogs, Zelda 2 (SNES on RetroPi).

Want to try Red Orchestra with old MOH/BF series friends but trying to avoid time suck online FPS games.
Yes, subtyping makes everything more complicated. I think there was a paper about type inference for subtyping posted on HN a while back, but I don't remember much about it.
I searched for years for the right fit in earplugs, purchasing perhaps a dozen types along the way. In hindsight I would suggest purchasing a variety pack. I think it would have saved me a lot of time and money.

Something like: http://www.earplugstore.com/foearpltrpa2.html

My personal favorites: 3M E-A-R Classic Soft Earplugs
Startups in early markets easily drown when given too much money
I have used https://chrome.google.com/webstore/detail/quick-tabs/jnjfein... and https://chrome.google.com/webstore/detail/onetab/chphlpgkkbo...

But these days I just keep opening a new one... most of the time I am just searching for something on the Internet like documentations so going backward is not really always a requirements.
Civilization, Stellaris, Europa Universalis...
Correct, the goal for this was as minimal as possible.

However, if I (or anyone wanting to contribute) can come up with a very compact way to implement that, we could definitely add it!
Breath of the wild consuming way to much of my time and Darkest Dungeon, the despair and melancholy in that game brings me happiness
Beans - they have carbs.

Lentils - I agree.

About World Champion UFC fighters, can you name me some?
I worry what happens when the last of those that actually remember any of this die and all we're left with is the stories and the grainy footage. Humanity's track record for repeating mistakes is not encouraging.
Thanks, you definitely should! It's very fun to write code in.
I could never figure out the ribbon-style UI. Always went round and round looking for my frequently used menu options.

I'm presently half way between MSO and LO - I use MSO in a VM for legacy work, mainly in Excel. And I use LO for all my other work.
I will happily use Markdown for my own writing. But I would never use Word for that anyway.

What I use Word for is at Work, mainly for sending back and forth specs with an update history and annotations. I do not even read documents in Word. I “check out“ the version of a spec that I need, save it as a PDF and open it in Sumatra.

I am sure there are better tools for this. There must be, because the process sucks. But customers do it this way and I am sure it makes them jizz their pants, because if you are not enthusiastic about tools in general and know very few tools other than MS Office, it must actually seem cool and pro to be able to do it like that.

I would push better tools on customers if I would have to spend more time on reading specs. But I do not, so I will not. And Libre would not make for a improvement.
I might not be motivated by that now (I'm 35) but when I was in my 20s I found it incredibly exciting just to see something I made get used by other people. I think it's a natural desire.

Since then I've gotten a little obsessive about specific goals, so I'm less compelled by it, but I don't think that's an inevitable aspect of aging, it's just how my personality turned out.
كلاب+جميلة+2017+كلاب+كيوت+حلوة+اجمل+كلاب+صغيرة+في+العالم
I have tried about 10 different kinds and the ones that work best for me -- by about a mile -- are the 3M 1100 [1].

They have a light coating that makes them "stick" just a little bit in the ear (but not uncomfortably). This closes sound gaps that exist with other plugs and makes them way more effective.

[1] http://solutions.3m.com/wps/portal/3M/en_EU/PPE_SafetySoluti...
Factorio, Overwatch
Minecraft

Fallout3, Fallout New Vegas,

Tower of Hero (until their most recent update broke the game)
I would not consider the language barrier as the largest obstacle. But the European scientific infrastructure can't even compete with Californias institutions and it gets much worse if you count in the whole US scientific infrastructure. Most of the world leading scientific institutions like Standford, Berkley, CalTech etc. are located in an area where scientific knowledge can get appropriate funding for a product. You simply cannot innovate or create something new without extensive research from universities or research labs. This is one of the problems.

The other problem is, in Germany at least, that the general population is not that well educated in computer science, since the educational curriculum is organized in a strict federal way. The German constitution even prohibits the state from cooperating with the federal education departments. CS should now be a major subject on the same level with math and physics, yet this kind of system makes it very hard to implement a curriculum for all of our pupils. This causes, that even a lot of young people are not that interested in CS and lack of basic CS knowledge.
Starcraft 2
Goroutines are not preemptive. They yield at well-defined points.
Minecraft :)
There is only so much safety when you're talking about 300 pounds meeting 250 pounds. The problem with football is physics.
Eggs are not plant based.
It would clearly help for the system we have now but the real solution is to push for stricter authentication across the board. As convenient as URL strings can be, we need E-mail clients and other tools to be able to force at least a 2nd layer of authentication (e.g. E-mail claims link is from domain #1; user must counter by selecting from a list of sites actually visited previously, and E-mail client refuses to open link if they don’t match). You could imagine much more elaborate solutions too based on certificates, etc.
Because a lot of these people grow up in poverty and a culture that tells them this is their best chance out. By the time they actually have a shot to do so, football is their entire life. It's easy to sit from a presumably educated and wealthy position and scoff at these people, but it's not going to lead you to any insights as to why it happens.
I used OpenOffice then LibreOffice for about two years. I did a lot of homework and presentations from LibreOffice, including my senior thesis.

I switched to MS Office 2011 and then MS Office 2016 afterward. The 2016 suite is by far the best from UI design to response time. Besides interop (since at work everyone uses MS Office suites) (I am using Outlook at work so I don't bother with a separate Office suite), but also because of stability and performance. Perhaps now LibreOffice is better, but I am going to stick to Office, plus I've an educational license (forgot if it's 4 or 5 years for ~$100) from using my university's email address.
> Make the secure option more convenient than the insecure one, and you can't keep people away.

Can you define convenient? Do you mean convenient from a usability perspective, or convenient from a risk/financial consequence perspective?

I would assume you're using the first definition if you just leave it undefined. But strictly speaking, convenience and security are inherently at odds under the first definition; as stated I don't find that this approach generally works. Security features don't really augment usability so much as they trade off some of it - at best, if you were to make the functionality incredibly seamless and abstract away much or all of the decision making, I suppose you could make secure software as usable as insecure software, but it's not straightforward to design secure software to be as enjoyable to use as insecure software.

If we take the example of iMessage: iMessage's security features do not make it intrinsically more or less usable in a general sense; the usability features are those that differentiate it from SMS. Apple happily baked strong cryptography into the protocol as well. An iMessage with the usability features but without the strong cryptosystem would be as useful, and users wouldn't generally be aware of a difference (in fact, it would technically be faster, so in that sense it would more usable).

We can't add any further significant security services to iMessage without meaningfully reducing its usability. If iMessage were implemented as a protocol with end-to-end encryption, it would inherently be less usable due to key management and analytics costs on the client-side.

This is why I take the position that security and usability are diametric opposites in software design. I've never observed software where this is not the case, unless you contrive the definition of "usability" to mean something like, "the user is hacked less, so they can use the application more" (and I've seen people apply this kind of thinking).
Safari plays extremely well with the rest of MacOS. So well that I don't mind it being behind the curve on web technologies, its adblocking options being inferior or that it is missing some of my favourite plugins.

Zooming and scrolling is extremely smooth, the rubber effect when scrolling out of bounds is enjoyable. The transition animation when using two-finger swipe for back/forward makes me feel in control of my browsing, while on Firefox I feel like the gesture can fire at any time, without warning.

It also integrates with the MacOS dictionary, and since I do most of my reading on the web, it is nice to be able to easily look up words. I really miss my dictionary when I'm on Firefox or Android.

It is also the only browser that can keep my cooling fans quiet on youtube.

The user experience on Safari is extremely impressive.
Thanks for the heads up! I didn't spot this.
Some parts of Unicode is hard like many characters looking almost exactly alike.
Team fortress 2, witness.

Surprised how many Factorio fans there are here.
Star Wars Galaxy of Heroes on mobile. It's fun and able to passively play and progress in the game. Biggest plus is the game mechanics in the game, they constantly improve things. I've been playing for about 18 months.
Not a lot right now, but I've put a huge amount of hours in Minecraft the past couple of years :)
Codegolf.stackexchange.com tag:king-of-the-hill

My own prototype board game

Severed

Desert Golfing
Michal Kosinski: The End of Privacy