skysight-inc/HackerNews huggingface dataset:
Personal anecdote: I don't drink during the day, only after 9:30pm. It started out as weekends only, i.e. Friday and Saturday. Then I started doing it on Sunday. Then Thursday. Soon enough, I was drinking every day of the week, only after 9:30pm. I'd stay up until about 1am or 2am, sometimes 3am. This worked fine, until I started having to attend work meetings at 9am on the dot. I wormed my way out of some with excuses about personal commitments (my manager understands that not everyone can be available at 9am on the dot).

I need about 150ml vodka and 3 beers to get to the state I want. It wasn't always that way, of course, but it escalated gradually. I don't sleep well, but oh well. It's worth it, in a way. I can forget about my troubles, my bad pay, and my work pressure by drinking and watching movies or playing video games at the same time.

The next day? Sometimes I wake up with a headache. Not often, now that I know exactly how much water I need to drink before I sleep to avoid that. But the next day is always normal and I'm pretty well functioning, if lazy and procrastinating. I just need a 20 min nap after 12pm and I'm pretty much set to function.

Will I stop? I don't know. These things on my mind may seem utterly trivial to some. I wasn't abused, I haven't lost anyone in my family, I live fairly comfortably. But I need to get my mind off those thoughts. I can go days at a time, even weeks, without feeling the need to drink, so long as I just forget about its feeling. But why would I do that? When I have a 2L bottle of vodka and an 18 back of 5% beers? With them, I can enjoy the night more than I would otherwise. That's got to be worth something, at least to me.
https://java-programming.mooc.fi/

is one of the courses that really made me love programming. It has lots of exercises, good explaining and a nice interface. Its in Java but contra the opinions that "Java is a bad language to start programming" for me it wasnt hard at all considering I was young when I started it.
The problem is when some consider their ideas even more important than people's lives. Like, in Communism, you could get jailed or killed for disagreeing with the party. Same thing with the Inquisition.
I got through it without any priors :).
Relative to the preceding token in the stream, in number of lines and columns from the end of the last token (or beginning, but to me that's conceptually confusing). Take a look at the language server protocol specification for semantic tokens with relative positions as a reference.

Using an absolute line/column/index to indicate the location of a token in a file means you need to retokenize a large amount of the file whenever there's an edit. In a streaming parser that responds to live edits, storing the tokens with relative file locations allows you to only update neighbors on insertion or deletion (and also allows for bulk insert/delete). Absolute file locations can be recovered by scanning the token stream - which is why it's important for the tokens to form the leaves of the tree, it guarantees you can always recover the file locations.

Then you can pull some tricks like the Roslyn compiler does, which is to store things like comments, diagnostics, and white space as "trivia" associated with the tokens and very quickly recover the text that created the token stream/AST nodes. That's invaluable for tooling.
#1 is pretty rough especially as this is the summer w/o frost heaves. That is also from Aug 2019 and it's now 2022.

Separately, but related, I have always found it interesting that no one tries to calculate the wear on vehicles for things like bad roads, salt use, etc. Bending a wheel, accelerating suspension breakdown, and other issues from bad roads could easily outweigh some arguable savings of waiting longer. I'd rather push for adding less roads, allowing some paved roads to become dirt roads where low traffic weights & #s exist, and better maintenance of the remaining ones.
This is taking the quote completely out of context, it's not the data itself that conveys useful information, it's the data combined with a causal model!
Software is hard, but unlike many other professions, you can do useful work at almost any level of the learning curve. Even for those of us with many years of experience, there's always something new. You can use an argument within these lines. Remember them it's a journey. One can start with bare resources. It's not capital intensive and there's no need to put themselves in debt.
I spent a lot of time thinking about this over the years and I have a few key thoughts:

The most important base-level skill seems to be the ability to hold the concept of what I call "signal flow" (and others would call "state") in your head. The two jobs I've done in my life that I've done for money AND for fun are programmer and recording studio engineer. They are essentially identical. Hear me out:

When someone sings into a microphone, the signal travels through a cable, into a pre-amplifer, then an equalizer that cuts out the low end, then a compressor to limit the dynamic range, maybe you add some reverb and some delay. You need to be able to understand what is happening to the signal at every stage. For example, if you run the signal into a compressor BEFORE you cut out the low end frequencies with an equalizer, the results will be dramatically different. If you add delay (an echo) to the signal and THEN add reverb, it will sound different and you probably won't get the natural sound you are looking for.

When I was training audio engineers, if they didn't QUICKLY grasp this concept, they were most likely going to struggle.

Software is pretty much the same. You need to know what each function is doing, the state of each variable as you step through, etc. If someone without any programming experience has trouble following the value of X:

X = 10
Y = 15
X = 5
X = Y+X
X = ?

Then they will struggle learning.

More recently, software has become a question of having a wide range of shallow knowledge, and the ability to google really well. But I think the fundamentals are the same.
There have been multiple new variants.

Immunity from one does not help with others.

People have been getting covid multiple times. (eg. Glenn Beck).
Employers national insurance is basically 13.8% on top of salary in the Uk up top some limit.
Use shuf(1) to pick words reliably randomly from /use/share/dict/ dictionaries. It is not a mistake to misspell the words proposed, but not necessary. Preserving capitalization is not necessary.
My answer is usually to those who are thinking of getting into the field,not just write some 'hello world' apps. I don't demotivate, I do give a fairly realistic picture: it does require a lot commitment and lots of hair pulling moments to get somewhere. The problem is that those who really want to do it,they never ask, they just dive into it. The ones who ask, are usually who will never do it or have an unrealistically simplistic picture of what it entails. I used to offer this route to non technical colleagues,who,if wanted, could have doubled or tripled their salaries in just a few years. I was offering all the support they'd need,should they decide to do it, including the company changing their roles if they see the motivation. Nobody ever took it. Not a single person.
I am not super familiar but let me give it a shot.

My understanding is the main benefit is that you can have one ruby interpreter that can be used on any CPU architecture or operating system. This is especially interesting for web as you can implement the WASI interface and then run Ruby in the browser. This is especially cool for learning tools and IDEs.

Another benefit is that by using a "safe" WASI backend you could run Ruby sandboxed which could be helpful for testing and dynamic analysis of untrusted code or even for IDE support for potentially dangerous code. (For example you can run the `rm -r /` function to see it's return type without actually letting it wipe the disk.)

> that I could theoretically just end up with a single binary that contained everything in it?

I don't think this changes anything here. You could do this just as easily with or without.

> this is shipping a Ruby runtime inside of WASI or is it aiming to “compile” to “native”?

My reading says that it is the former. Compiling the Ruby runtime to WASI.

> Then finally, does this also theoretically do something big for Ruby’s performance metrics?

It likely hurts performance as WASM will be slower than native.
Why preserve the opacity of that relationship? Tax trucks higher, and it will reflect in the prices of the products those trucks are hauling, fairly distributing the cost increase of their operation across the consumers of those products.

We absolutely should tax goods and services based on the negative externalities they impose. Taxing vehicles by weight is a fair tax, much more fair than doing the _exact_ opposite right now, work trucks being taxed less. Heavy vehicles used productively will remain, but spending on heavy vehicles for recreation will be less attractive, since that kind of use consumers balance against other discriminatory spending.
> In some countries you can look up anyones salary, Nordic countries for example.

You can, but you wouldn’t. Even if possible, pulling up your colleagues salaries would usually be considered incredibly creepy in Nordic countries.
As I understand it, this proposal brings cruby to WASM. As in the code for Ruby itself, the vm, compiler, etc.

WASI is just an interface to the host system and is not specifically related to native compiling
Long article about different ways to get consensus among a group of collaborators between different competing options.

Author keeps using the word Schelling point to describe the result that people will gravitate towards based on different collaboration models (e.g. having a compelling leader among the collaborators). This is not what a Schelling point is. A Schelling point is the option people gravitate towards in the *absence* of communication, but the article continues to use is after communication is around.
I think this is post hoc wrapping usury and massive information asymetry in 'some progressiver than thou' language.

- if it's about taxing some qualitative value of education then it should be a graduate tax applied equally to everyone with tertiary education. I'd be curious how politicans would manage policies on education and taxes on this value when they are paying it too

- if it's not about the qualitative value but about the income, then it should be an income tax.

- if it can't be discharged through normal procedures of bankruptcy and terms are rewritten by politicians then it's not 'just a loan' either.

In the absence of any of these then these are largely generation taxes in terms of how they fall.
If it's for work, don't sent messages during off hours, especially if you're in a management or leadership roll.
> Per WSJ, US does the same thing Jan 22

Do you have that link please? Could not find it.
It would be ironic if you tried to kill Cortana and it said "I'm sorry, Dave. I'm afraid I can't do that."

But yes I don't see why it couldn't (or why MS would add such a high-level protection to Cortana)
I guess it really depends on your discipline, but Bayesian methods have become more and more popular in a lot of academic communities, being published alongside papers using frequentist methods, so I wouldn't say it's hegemonic anymore.
>At every reasonably well-run company I've worked for, the "useless" people were steadily sifted out of the company, either through PIPs or routine layoffs.

That's not even close to reality. Some totally incompetent or disinterested would get the boot, yes. Often with people doing most of the hard work but under-appreciated and not into self-promotion.

But the more useless (or even harmful) that are good into office politics and self-promotion are usually the ones promoted.

As for the regular useless (detached) as implied by the article, the kind of performance theater metrics you've mention are the easiest to game.
Hold option as you release cmd and it will behave as you describe (opening the default window for an app with no open windows, restoring minimized apps… it’s equivalent to clicking the Dock icon for that app)
The one FBI orchestrated was “Anom”.

https://www.engadget.com/fbi-encrypted-chat-app-anom-crimina...

I’m not sure why criminals use these botique services rather than sticking with the major ones.
This is about the worst imaginable way to generate entropy for password, unless the goal is to waste lots of time.
Thank you for taking the time to share your thoughts! I know that you are right: I can always quit the PhD in the future. But realistically, it's pretty difficult to get an offer from one of the bigger tech companies with high salary as a Junior. So it's FOMO for both options and unfortunately I can't split myself in half. Painful to think about the opportunity costs the PhD has, but also painful to feel like giving up on the opportunity to gain more knowledge.
I mean like undriveable obvious.
Clever! Thank you for sharing. MDN is specifically the site I most often use this feature for as well. This might be a better substitute, as I have ended up on MSDN a few times in the past when just straight up searching "! mdn <query>".
Because it is an UNIX clone, almost all of them quite bad at any kind of UI/UX.

All major desktop OSes that people actually miss, have had a full stack experience for users and developers alike.
I would expect that the branch predictor has issues, especially on a chip that's nearly 10 years old. However, I controlled for this as best as I could. The if statements that control the VM's flow are the same for each test. The only real difference is that The switch statement has to branch to jump to the next virtual operation to take, while all others use unconditional jumps to do that.

EDIT: These articles are interesting, thank you.
RAII is fine. If it's a language feature, APIs can provide that to you so you don't have to write RAII wrappers all the time.

Otherwise a generic _bracket_ operator could be introduced, similar to Python's `with` statement. In C it might be a bit hard to parameterize, but even if it just requires you to use a void, it's still an improvement vs. not having anything at all. (Talking about language features so `__attribute__((__cleanup__))` doesn't count.)

Imagine something like this:

FILE* handle = bracket(fopen("data.bin", "rb"), fclose) {
fread(..., handle);
return;
fwrite(..., handle);
} // <-- implicitly calling fclose(handle), always

Edit: After writing this sample I could even an optional `else` block in case `fopen` returned `NULL`.

Edit2: Of course, syntax fine-tuning would be welcome. For instance, `handle` should be restricted to the bracket's scope.
This association between "micro aggression" and "reverse cognitive behavioral therapy" seems pretty accurate to me.

I made up a game a couple of years ago called "Take it Personal", which is played between two people and in turn each person makes a statement, and it must express outrage about the last thing said. If you don't express outrage, you lose. There is always a path to outrage. It is an unpleasant game, but instructive.
As readthenotes1 — only SmalltalkSomething or SomethingSmalltalk
I was, and continue to be, very disappointed that the (to me) more natural and C-like block syntax for lambdas was rejected from C11 (http://www.open-std.org/jtc1/sc22/wg14/www/docs/n2030.pdf).
For those coming from a CS background a possible (crude) intuition sometimes given is that

frequentist :: Bayesian ~ worst-case analysis :: average-case analysis

There are a good reasons why we don't usually do average-case analysis of algorithms, chief among them that we have no idea how inputs are distributed (another reason is computational difficulty). Worst-case bounds are pessimistic, but they hold.
Using words like "obviously" in an article is poor form. Also, what is this notch they are talking about?
Ask HN: Anyone know video creators for web dev? Vanilla JavaScript / TS / React
I just discovered that I really like watching people code, and it's a great source of learning for me just through observation.

My main requirements:
- Not a "tutorial". I don't want someone who has already scripted and prepared all the steps for the video. Looking for something more improvisational, of course, ideally they should be experienced or produce high quality code and at least partially explain their thought process as they're doing it.
- Preferably web dev focused - I've been trying to hone my skills with HTML / CSS / JS / TS and React mainly, but really open to anything if I think I can learn some good coding practices from it.

An example of a recent one I liked was: https://www.youtube.com/watch?v=K77xThbu66A

However, I would prefer something a little less hacky than this if possible. Still was a decent view to follow along.
It's strange to see the phrase "technology should be developed with people in mind" coming from Google. Plenty of Responsible AI groups exist. Why can't there be more groups focused on the curtailing of addictive design patterns and similar issues?

The fact that numerous institutions related to AI becoming too powerful exist indicates that there is some part of our capability to progress the state of science that terrifies us. But we don't apply that same type of fear to places like technological addiction that have a significant potential to alter the behavior and development of future human generations.
I don't know that the opera does. The expression "it's not over until the fat lady sings" is what portrays Brünnhilde as ridiculous.
"Classical roguelike" usually means "direct descendent of Hack/Angband/Larn/Moria" (Rogue itself produced very few descendents, I think). "Traditional" excludes several interesting categories which are uncontroversially roguelikes: games not part of the current 'body of practice' like Dungeon Hack; radically different PCG approaches like 868-HACK; and the Japanese design lineage in e.g. Shiren or Baroque which uses a very different approach to progression dynamics than today's roguelites.
> It also started erupting in December so there were already satellites paying attention to it.

All images I've seen are from satellites and/or constellations that watch the whole Earth or a fixed part of the Earth, none have been tasked to specifically watch this area because of the eruption.
> It distracts receiver and wastes time until the actual content is received

Clearly half my company disagrees with you.

Your view is common amongst tech folks. It is the minority view in society in general.
Great passage

> when you get to thinking that your Idea is more important than people, tread really, really carefully.

Was just thinking about this yesterday as I was thinking of how the Catholic world went from Jesus’ principle of "Love thy neighbor" and "Let he who is without sin cast the first stone" to a full blown religious wars and the Inquisition

Obviously people in power will use dogma to their benefit - but all the foot soldiers have is the cognitive dissonance between their orders and their dogma
https://www.wsj.com/articles/truckers-fret-over-pending-covi...
Well, if you say so! But its a bit open to interpretation I would say!

Are there that many trees from 10,000 years ago even around, so we can read their rings?
Tip: Use your distribution’s bug reporting system, not the upstream’s. For example, in Debian, simply run the “reportbug” command. It is then the maintainer’s job to, if appropriate, forward the bug upstream.
Heh, ours also got curbed during “contactless” delivery. My wife watched it happen, went out and made the delivery specialist take photos and report it to his manager. We made an appointment and Tesla refinished the wheel. I’ve mentioned this to others who were appalled a mistake could happen and chastised me for not demanding a new wheel. I’ve since stopped mentioning it. shrugs
ah ok i see, thanks for clarifying. thankfully i don't see myself working in that industry.
If it were 'in the cloud', now the hacker has to interface with the time management / payroll service as if it were a web browser client trying to access it, assuming the network entry was via the hospital itself or some unsecure medical device physically present in the hospital. In absence of a properly-segmented LAN, it's better to have a segmented-by-design WAN in the form of SaaS and cloud vendor-based solutions.
You're describing the Gini coefficient. Here's an article on why you shouldn't overuse that: https://vitalik.ca/general/2021/07/29/gini.html That being said, 42% of all Bitcoin sits in 2100 addresses. Google "Bitcoin rich list" and you'll also be able to look on that site at other coins as well. People will point out that those are exchanges representing users. And I'll point out, crypt was invented to remove middlemen and exchanges are middlemen.
So much for Bitcoin’s vaunted decentralization. In fact the inequality is probably far more pronounced. Since multiple accounts can belong to one organizatipn - but not the other way around :)

PS: if a bitcoin wallet belongs to one centralized exchange, it’s still under centralized control!
When I'm identifying a cheese I feel like it's 50% sight, 40% smell, 10% feel. It's hard to imagine identifying arbitrary cheeses with just sight. There are so many and a lot of them look extremely similar.

Even distinguishing between Jarlsberg and Swiss seems like it could be a challenge, and that would be easy relative to a lot of others. On top of that if you have something like brie there's a million of them - I don't think I could distinguish brie de nangis from another brie unless I could touch it.
Instructables guide to building one:

https://www.instructables.com/Pocket-Size-Spinthariscope/
CC: Tweaked – Computers and Robots in Minecraft
I'm old enought that I experienced everything from the Atari VCS/2600 onward with physical hardware, which (a) is really hard/expensive to find and (b) makes the emulated experience less enjoyable. Do people who never had the original devices feel the same way or is this an old person problem?
If we wait a bit, Occam will be along to help us here with what is more likely, exotic matter we can't detect, or a simpler solution we have not yet conceived. When we knew that light was a wave, and we knew that waves only travel through a medium, we were certain about the existence of luminiferous aether, which also misled hoards of young physicists that would have been better off, making Physics as a study better off, without every new entrant into the field being misled.
Also, you can buy little tritium glow sticks on Amazon. Highly recommended. Our kids love them.
Yea, it is indeed how I use typescript, but I do not really like javascript much. Typescript does make it better though. I wish other, nicer languages had this.
Travel and Leisure salary employees can't put in PTO time, and the part time employees can't capture time.
Their prices are targeted towards large corps, I think that by leaving room at the small/medium orgs you're allowing competition to improve to a point where they will go after your large corp customers as well. It also becomes difficult to lower prices because you'd lose more from your existing customers than you'd gain from new customers, so you kind of get stuck at a high price point and slowly bleed out customers who are on the margins. You can make lots of the money in the process and doing this could be a perfectly legitimate strategy. The value adds may be enough to prevent this. I don't know. My datapoint was that it seemed that initial purchases were based on vast overestimates of provisioning and renewals tend to come with significant reductions. This is something that can stay hidden during a period of high grown where there is a lot of onboarding but I would expect to show up in the numbers quite quickly if growth slows with a ~3 year lag.