skysight-inc/HackerNews huggingface dataset:
>I'm interested in why this continues to happen.

The psychology is easy to explain. The nodejs.org home page says "Node.js uses an event-driven, non-blocking I/O model that makes it lightweight and efficient". And the about page goes on to say "As an asynchronous event driven framework, Node.js is designed to build scalable network applications".

But for that supposed efficiency and scalability you pay a price: You must structure your code according to a particular optimization technique instead of structuring it according to semantic coherence. You lose modularity and clarity to gain scalability. That's the deal.

And then one day you realize that the whole thing doesn't scale as well as it could on a given hardware and it isn't very efficient unless you bring back some of the supposedly heavyweight architectural principles that you left behind.

At that point doubts start to creep in: Did we use the right tool for the job? Did we turn our code base into callback spaghetti for nothing?

And it's not that surprising that sometimes people opt not to keep paying the price in terms of code quality when they lose the supposed benefits they were paying that price for in the first place.
Would be sad if it goes through. I recently found my receipt for an Opera licence (which I must have bought some time in the 90s). It was amazing back then just to have an alternative to IE. All today's browsers are indebted to Opera. E.g., they were the first to use tabbed browsing.
This sort of thing is (in the UK) legal for some timeshares. The common case is your parents buy a timeshare apartment which has a stiff annual maintenance fee. You might not even know about this. When they die, you inherit the property and are on the hook for the maintenance fee. It's usually complicated by the fact that timeshares are easy to buy but very difficult to sell.
How You're Poisoning Your Children
I know. I haven't opened source it for long, it's just been 2 weeks now. For the past few years, I hired developers to help me make the prototype. As of right now, I feel that it's better to donate the work to the public, and write content, create videos showing people why it's designed like that via Minecraft.

The purpose is via this platform, kids can learn conciously or subconciously, so that in the future they can remember that a game with this kind of architecture exists, and build something more scalable, better in the future.
I'm having a tough time trying to understand this snippet

for i in 0..3 {
thread::spawn(move || {
data[i] += 1;
});
}

What is the 'move' thing here before the ||
Sure. I will draw that and explain on the landing page this week.
For this to work you need stable communities and shared values (as in - for generations). This is very rare today, given the amount of migration (and I do not just mean multiculturalism).
Actually death rates level out fairly quickly, at least until you hit a wall at about 120.
I'm trying to build something so minimal and work with existing Minecraft software, easy to install, easy to upgrade as Minecraft upgrade, and can sustain the architecture for years to come. (instead of adding modpacks, heavy plugins, etc..)

Minetest is pretty cool, but it isn't really what I'm trying to achieve.
When Astronomers Chased an Eclipse in a Concorde
A quick search turned up this: https://doc.rust-lang.org/book/closures.html#move-closures.
Show HN: Pure HTML/CSS Sierpinski Carpet Fractal
Solution is simple: move Earth to the vicinity of a black hole.
I don't get around it, I respect Mojang and abide by their terms, the subscription is only for cosmetic items.

Think of Minecraftly open source as wordpress.org, and Minecraftly demo server as wordpress.com, so at least there is donor engagement from people who are interested.

The only thing I don't like about Mojang is how they design Minecraft Realms architecture. It's proprietary and too complicated. I want to build something simplier, more scalable, with better player's freedom in cross-server interaction, and is supported for years to come.
Sperm comes from ejaculate. Ejaculation is a bodily function. Bodily function is likely not going to be proper in a professional environment.
I still can't figure out how one login can give me -3 points. Very impressive. How many logins do you have? Must be a hassle keeping them straight, and you just burned three of them for one reply. Hardly seems sustainable.
My exact same thought.

I do believe that we, as software engineer, should understand how Erlang works at its core and have some sort of shared know how about the implementation of at least supervisors.
Sure. Get an alarm and place it a few feet away from your bed. Works every time. It's a bit brutal but it gets the job done.
What about the federal circuit? That court is entirely composed of patent lawyers.
The only thing that works for me: go to sleep early enough that I'll get my full eight hours of sleep. Leave some room for those times when I'm more exhausted than usual. This means falling asleep by 10pm to wake up by 6:30am on weekdays.
it was also first to support gestures, tab recovery after crash, decent speed... For couple of years (before Mozilla become usable) it was the ONLY alternative to IE.
SAM.js – State – Action – Model
Does Rust have a way to work with SIMD concurrency as opposed to just fork/join concurrency? Something along the lines of how openmp or cilk let you do a parallel for all?
Its not email, but a "similar" protocol (similar in the way the user interacts with it) that is secure is Bitmessage(https://bitmessage.org/)
>> most of the things I read here in the comments sounds like fairy tales (just do it, go to bed earlier, ..)

They don't sound like fairy tales, they sound like things that work for them and perhaps others. It's OK that some tips are not practical for you, it doesn't make them any less useful.
> She moved that year into a nursing home, which is now named after her.

This is pretty cool as well. I'll put this on my list of goals when I'm old.
A move closure takes copies of the environment, instead of mutating the parent environment.

https://doc.rust-lang.org/book/closures.html#move-closures
Yep, redis would solve this. Shareable cache across a distributed cluster of node.js instances.
This reminds me of a program I once wrote when I first learnt SQL, a sort of randomizing port scanner that would just try random combinations of hosts and ports and store its results into a database.

Later, I added stuff like attempting AXFR zone transfers, which was interesting, and I came across some university that apparently had no firewalls in place whatsoever.

I found a few devices with open telnet ports, mostly printers. I remember clearly the thrill I felt when I realized I could make this printer refuse any print jobs or remove jobs from its queue.

I also found a few devices I had no clue about. The latter where the ones I found most fascinating, although I never took the trouble to research what those devices might have been. I suspect, though, that nowadays there must be a whole lot more of such devices around, with IoT and all that.

(My scanner never looked at VNC or RDP, though... This site makes me wish I had thought of that.)
Ah yes, so the threat model for developer signing is compromise of the repository. So here we're looking at the OpSec of the repository owner (e.g. PyPI, npm, Rubygems etc), and also the risk of deliberate compromise by the repo. owner (for example where a state with authority over the repository compels them to modify a package)

In terms of compromise there's already been the attack on Rubygems in 2013, but in general the thought here is that these repositories are extremely tempting targets for well-funded attackers. A compromise of npm for example would give an attacker direct access to a very wide range of targets.

Combine this with the very limited resources of the repository owners (most are free resources, likely constraining the money available for defence) and you get a realistic risk of attack, which is mitigated by an appropriate use of signing by the developer.

Docker hub has deployed an implementation of the Update Framework to address this, although the interesting point now is whether people actually use it as it's not compulsory...
Must depends on jurisdictions then.
Whoops :p
This is the type of project which really interests me. In the future we plan on building a service to wholesale trivia questions to pubs, schools, fundraisers, etc. I'll read this paper with interest, because at a quick glance the generated questions do sound great.

The next step from generating good quality questions that sound natural, is to make sure the the questions are up to date and topical. This means keeping up with current affairs, memes, popular cultue, and other trends. Adding questions about "which politician is in trouble for x" really only remain relevant for about a week or two and sit in a different category than these pure fact style questions presented here.

It would be great to see this research team or others to continue in this direction, and look at an increasingly broad metrics of what makes a "good" question, in addition to whether the English phrasing sounds good.

Nevertheless, this really does sound great.
Actual advice for getting out of bed? Well, I presume it would be different for different people as most often it comes down to motivation, and different people need different motivation. However, you can take a look at http://www.earlyrisershub.com/ . I have tried to introduce different gamification techniques to try to motivate you to get out of bed. For example - competition, tracking progress and some small rewards. Also, any feedback is welcome. Thanks!
Opera is still the best mobile browser. Period. Cannot trust to use it now though.
only if u have very strict laws
https://www.youtube.com/watch?v=7DYmGXrMaxQ&feature=youtu.be
There is another tool written in OCaml that parses and, in addition, manipulates PDF files: https://github.com/johnwhitington/cpdf-source.
Food and drink fraud is a real problem in London, especially fake alcohol, which leads to organ damage, blindness and death. Lots of local smaller shops get caught selling faked wine and vodka, a market trader recently caught with fake spices (basically was flavoured dust and dirt with shoe polish colourings and fake flavours), and plenty of fake branded food goods.
What about the assumption (fatally flawed decision?) that malloc never fails when rust asks? Sounds like something that could affect concurrency
You seem to have concurrency confused with parallelism. Concurrency just means working on another task before the prior one has completed. You're describing parallelism which is doing multiple tasks at the same time.
[NCS Release] T and Sugah X NCT – Stardust (feat. Miyoki)
Either you're misadvertising what you're selling in the store, or you're flat out lying. Allow me to list some things you're selling (all from https://s.m.ly/):

- Access to Nether and The End worlds.

- Higher jobs xp and income!

- Buy Lifetime VIP rank and get an extra Treasure Trove, and Dreaded Warrior crates for free! (Dreaded Warrior gives you 300 crates that drop enchanted diamond armors, weapons and tools. Gain a chance to win God armors, weapons and tools with full maximum enchantments.)

- Get 850 crates that drop enchanted diamond armors, weapons and tools.

- Get $36,000 in game money.

All seem pay 2 win to me. On top of that you're selling stupidly basic functionality that shouldn't be for sale:

- Mute, kick, and ban other players from your server (and many other admin commands) at (username).m.ly

The fact that you're open source is irrelevant. I don't care how your service is implemented, I have issue with your business model and target demographic.

Your intentions are also irrelevant, the road to hell is paved with good intentions. Actions speak louder than words.
Wait, so we in Germany can't demand "buy all German" anymore, but the US can demand "buy all American"?

Seriously, I feel like this deal is getting worse all the time.
These days still exist. And nearby some people even leave their keys on the cars. However, in a city, you just can't do it. Too many risks and people barely know each other.

Now comes the Internet. It's a huge giga-city. Expect robbery, larceny, hacking, and more.
I mean Chrome on Android.
Meditation is useful for some people.

It's not useful for everyone, and it's sometimes harmful. The risks of harm tend to be ignored by people delivering meditation and mindfulness.

> There is always a reason why we are depressed. We need to go deep into ourselves to find it, there is no other way.

The evidence from cognitive behavioural therapy suggests this is not always true. For some (but not all) people there isn't any reason, and it's certainly not always some buried trauma.
I have had a similar issue since iOS 9.2 with my iPhone 6s Plus. Safari randomly freeze when I open a link in the background. This issue doesn't appear every time, but does appear several times（<10） a week.

I bought the 6sP this year and restored it from my local backup. Usually I have tons of tabs opened in Safari. Thus, I initially suspect this issue may related to those many tabs or some corruption in backup data.

After upgrade to 9.3, I still have this issue. Not sure whether my problem is related to the problem discussed here, though they had similar behavior.
This is nice! I almost want to steal the idea and make an app out of it :p
Same as for peeling off a plaster - just do it.

Or get a cat. No better alarm clock than a hungry cat.
Didn't know that, thanks for the tip. Shame it didn't have the leading business software to go along with it.
I've found it absolutely essential to spend some time outside in the middle of the day. I usually take a 1 hour walk outside around noon. If I don't do this, my circadian rhythm will get out of whack: I won't be tired in the evening, but I will be very tired in the morning. In other words it will be extremely difficult to get up from bed at a sensible time.

Also, I avoid sitting in front of a computer or TV within 3 hours of bedtime. If there is something that I absolutely need to do on my computer, I use glasses that block the blue part of the light (it's the blue part of the light the influences melatonin, which again regulates sleep).
'I've seen the greatest AI of my generation destroyed by Twitter'
> Maybe there's someone reading this thread for whom the first step to getting help is just to get outside, and I'd call it irresponsible withhold that information.

I don't think that's what the post I responded to was saying. I think the post I was responding to was recommending exercise as a treatment for exercise, not recommending just getting out of the house as a first step to seeing a professional.

> Of course, suggest getting professional help first.

the post I responded to did not do that.

You've described how hard it is sometimes to leave the house. Do you think it's realistic to expect a person in that situation to start doing 5 sessions per week, 30 minutes per session, of vigorous exercise?
I agree with almost all of your post except this:

> With Go it doesn't matter if an operation is blocking or non blocking, that fact can totally be abstracted from the client code.

No, it can't, and pretending that it can is misleading in a way that allows large teams of developers to cause themselves real problems.

The only sense in which this is true is that you can write a Go function with a simple signature like this:

func DoSomeStuff (error) {}

And the caller has no idea whether this involves concurrency under the hood (e.g. the function can spawn its own goroutines and channels as it sees fit).

But, make no bones about it: this function blocks until it completes. This means that while this function may do concurrent work it is absolutely a blocking function. This is fine: sometimes blocking functions are good. But you cannot write a non-blocking Go function in the same way.

To make a function non-blocking you can return a channel out of it for the return value to appear on, like this:

func DoSomeStuff (chan error) {}

In this model the caller really doesn't have to care whether the function is synchronous or not (though the fact that it was written this way strongly suggests that it is going to return asynchronously, or at least that the developer believes it will have to in the future).

Except...that return value just there? That's a Future. It's a terrible, half-implemented version of a Future, but that's exactly what it is. It's a promise to return some kind of result at some point when the underlying process has returned.

And if you don't want to block your current goroutine, you cannot block on that channel receive either. That means that you need a callback. There are two patterns for doing that: you could have some kind of central loop that selects over all channels like this and calls the callback functions (boy that looks a lot like Node's event loop, doesn't it!), or you can manually spawn your own callback functions in their own goroutines. Either way, you have callbacks and futures here: you're just building them yourself and calling them something different.

There are lots of good reasons to switch to Go: it's a language that makes lots of developers remarkably productive, it has an ingrained philosophy of building concurrent programs, it's pretty damn fast, and it runs on all kinds of awesome platforms. But claiming that Go has learned something magic and new about how to write concurrent software in such a way that you don't have to care whether your code is async or not is just not true: you always have to care.
You're right, I should have written it as « sounds like fairy tales to me ». Everybody's different, and I just felt this way because that's the kind of suggestions I often read while I had trouble waking up and made some research, and it obviously didn't work for me.. That said: please, do try as many things as possible and see what works for you, start with the easy stuff.
Most people don't have a problem with getting out of bed, they have a problem of getting into it.

There is certainly some who have genuine medical problems and so who struggle. An order of magnitude just don't sleep enough though. Go to bed at 10 and it's easy to get up at 6, or whatever your actual sleep need is (it varies by individual and over time, right now mine is a hair under 8h I think).
I agree with you, but I think that we should try to make encryption something that you don't have to "do". HTTPS is widely used even by people who don't really care about their privacy, because it just happens automatically. I'm not sure whether it will ever be possible to do the same with e-mail, but I think it would be cool if all messages where encrypted and authenticated by default.
A simple google search would have told you that there is work being done the introduce simd in Rust. There appear to be some basics there right now but not much if i understood my quick search.
Rust supports SIMD, with some utility structs that let you do it easily. I don't know of any libraries that auto-simd things though IIRC LLVM can do this on its own sometimes.
Given that the ones still up there are in large clumps, I feel this analogy is flawed, much as I enjoy the mental image.
Malloc never fails, but you might die if you touch the memory. In general, modern OSes don't have a good story about exhausting available memory beyond "let's kill a bunch of processes to free up memory".
Interesting, for me the language I use would be near the bottom of the list of priorities in a job search.
Not advice, but some good news for those who struggle.

I always had problems getting up early. I hated it. It was a running joke amongst my friends, any time we had to take an early flight or set off early on a road trip, they had to drag me out of bed. And it wasn't laziness - I just felt awful, really sick, terrible, early in the morning. One day I met someone who told me she was exactly the same when she was younger, but that it gets easier. She was right.

Now, I can get up earlier than my friends. I'm
more of a morning person. I don't know what happened, but it changed quite suddenly, maybe in the space of a few months, sometime in my early 30s. Nowadays I get up early and hit the gym most days, which a younger me would simply have believed impossible.

I don't know if this applies to everyone, but I can tell you that none of my friends over 30 have the same difficulty I did when I was younger, but plenty of those in their 20s do.
Most often people had nothing to steal and often couldn't afford good locks anyway. When the last of my grandparents 13 kids left the house and they actually started to have enough money to buy nice stuff, they also bought and used a lock.
A failed malloc aborts the process. If this is important to you, don't use the heap abstractions in the stdlib then. This is no different from the situation in C++.

(You can also plug in a custom allocator which behaves differently)
I bought a odroid-X2 with a eMMC chip 3 years ago and it is more than ok for a "simple" use (hosting my contacts, calendar and RSS for example). But for inserting in bulk 25000 (small) records a day in a Postgres DB it was really slow. When I had to reinitialize the DB from the raw data, it took so long (7 millions records) that I moved the DB to my desktop and let the downloading part on the odroid.

I read that faster eMMC chips were released, but I don't have any figure.
Yeah, please do try this also. Everyone is different. Personally, When I try just going to bed early, I just end up fully conscious for hours in my bed not falling asleep. (edit: and yes I tried with using f.lux, not using a computer screen, reading on a passive Kindle, just listening to music beforehand).
Join TheMuse.com (YC W12) as a back end or fullstack engineer and reach 50M people
The round bit? That's a heavy tarp, it's put over fermenters with biomass (pigs poop or similar), as the biomass ferments the tarp balloons up, due to the generated gas. The gas can be extracted later and used in power plants.
How Genode came to RISC-V
The author had withdrawals from her medication which wouldn't happen with marijuana. At most you won't sleep that well for a few nights and then experience vivid dreams. And often a sativa strain works well to give the patient motivation to exercise, which seems to be basic but important when fighting depression.
I actually think I'm slowly getting there. I felt the same as you did, now I'm in my 30's I wake up before the alarm and I think "I could totally go for a run".

I haven't actually ran yet, but now that winter is over, I feel that I might do my first morning run ever, this week.
The video is a bit misleading here - most CGA composite games didn't use the 2bpp mode at all but instead used the 1bpp mode. This gave 15 reasonably nice colours distributed roughly evenly through RGB space, and was also more consistent between different versions of the CGA card.
That's not a property of rust the language, but the standard library. I believe you could use other allocators that behave differently. In any case, the standard library panics on OOM, and panics are described at the bottom of the linked page.
Have you tried Vivaldi?
It's supposed to be from the original team of Opera.
Also based on Chromium, but at least not a clone of Chrome.
Not the OP, but when you're required to create a google account just to install an extension, I would say 'no'.
7 Silly Programming Challenges to Do for Fun
Yes, I think I read that cancer rates fall off slightly after a certain age.
- or -

2 : a briefly stated and usually trivial fact.