skysight-inc/HackerNews huggingface dataset:
I'll be brutally honest - I'm very tied financially to large paychecks that I can earn with Scala :-(
This 2009 short documentary is fulfilled in the most alarming manner every year since. It has been discussed on this site previously, a couple of years back in my search, but hasn't lost its potency.
In a word, security.

It is harder for password managers but also harder for password guessers.

Each guess requires additional communication and response from the server. A response delay increases with each incorrect guess. The idea is to help make it infeasible to brute force guess a password even if you know the login ID.

By splitting the ID and password pages, the delay can be off loaded to the client instead of the server. It is an alternative to a captcha test.
Thank you for tips. I don't think I can live with only one cup of coffee though :D
let vs. let rec is in ML and Scheme and some other languages. But the compiler could transform the let rec into a let, and e.g. Haskell does it so the programmer does not have to.

It's not exactly a trivial algorithm as it involves finding strongly connected components from the dependency graph and then topologically sorting that.

I implemented this for a toy programming language compiler project, it was a fun one. Luckily I had SCC and topological sort from Haskell's Data.Graph module.
Tesla's solar roof is more comparable to expensive slate tiles then the standard tar shingles. Here is an analysis that finds tesla's solar roof is significantly more expensive than a new roof + a traditional solar installation.

https://www.solarreviews.com/blog/tesla-solar-roof-do-the-so...
and if you look underneath it, you'll see my comment asking for evidence which OP never responded to. I'm very suspicious of such unsubstantiated claims. I work in the display industry, not at E Ink, but have some experience with using their products commercially as well. As far as I can tell, they're a typical display manufacturer and orient themselves towards their high volume customers. Same as everybody else. If you are a company buying anything less than a hundred thousand displays a year, you shouldn't have any expectation of Samsung or LG or any other display company being willing to listen to or enable your development plans. You buy from lower tier distributors just like everyone else. If there's a market shortage, yes, you'll be the first to feel the pinch because top tier vendors will always have their quantities satisfied first. That's what everybody in the industry does because that's the rational thing to do.
Trying to submit a vulnerability they had no intention of actually allowing to ship to the public is not that different from finding serious vulnerabilities with no intention of using them.

There also might be middle ground where people submit benign code that clearly demonstrates highly risky behavior the reviewer should have noticed.

Maybe I introduce code that covertly exfiltrates memory from a non sensitive address, but it is enough to understand I could have chosen a more sensitive one. Or code that simply executes a ping to my server, etc.

Anyway, the point is, intent matters.
> Other than the fact we have BigInts now

performance-wise, BigInts are terrible. Tried to use them, made things about a hundred times slower.
What are the benefits and costs of the Royal Family to UK society?
This is true. I'm ok with not enjoying work too much. But I'd still like to be able to get lost in zone and code till 2am on my personal project
Company Formation Cost in Dubai Mainland and Free Zone
It seems pretty intuitive and easy to use. Really interesting the real-time analytics part, especially if I can manage/ see everything from one place.
Apple sued for terminating account with $25k worth of apps and videos
I had the same issue, went there to find my answer:
https://grain-lang.org/docs/guide/hello_world

The language seems to draw lots of inspiration from Rust. Not sure how polished their type system is, though.

The pitch is also a bit unclear to me about which users are being targeted. In my experience, small languages that don't focus on a single area have a hard time, and aside from "modern functional language features" (and modern functional languages are a dime a dozen these days), there doesn't seem to be lots of specific about the target space.

On the other hand, it is nice to see that there is LSP support provided for the language.
> That is not true. BigInt has been available for a bit already.

performance-wise, BigInts are terrible. Tried to use them, made things about a hundred times slower. What JS needs are 64 bit integer types, and some form of typing system that allows differentiating between various number types.
> And before I knew it (it was a very short time) I was ``playing'' - working, really - with the same old problem that I loved so much, that I had stopped working on when I went to Los Alamos: my thesis-type problems; all those old-fashioned, wonderful things.

Given the circumstances of the time, post-war, and his circumstances, the loss of his wife and stress of the Manhattan project, I might argue a guess that he was grieving.

So it's not just that he found playfulness with physics, it's that he was ready to find it.

What I'm trying to say is don't force it if you're grieving or suffering from some traumatic event. Feynman could play with physics again because he was ready to do so.
Tesla's Free Cash Flow (FCF) Fallacy
Sure. Hit me up any time :)
The problem in portugal is purely a political and regulatory one.

On a 200k€ house you're paying roughly 50k€ on top for taxes and fees alone.
The last sentence hit home, thank you. I get huge motivation boost whenever anyone uses anything I make (even if it's single person). So perhaps aiming towards anything that excludes revenue is the way to go. It's a bit difficult because I'm maybe overly focused on money/paycheck. But your comment to "exclude revenue" hits home.
There are only a few useful parts of the algorithm theory in practice. The time complexity is surely one of them, but it is still overvalued in a sense that the actual performance on the real hardware and realistic input distribution is more important. And when you actually need algorithms, you always have a luxury of existing literatures and implementations. Real-time algorithm design in the interview is very unrealistic and in most cases only exists to detect interviewee's signaling.
There are in-person groups in a few cities when gathering was permitted (I play in Manchester). We've moved to https://werewolv.es, which is an online platform and has a good Discord community attached
The name of the company is in a box at the end of the post. It's called Adoro Drums https://www.adoro-drums.com/en
App Service will fail any benchmark you throw at it, which is why this guy will get a letter from Microsoft's lawyers pretty soon. Just like with Oracle Database, benchmarking the Azure Cloud is verboten, especially their PaaS services.

Azure App Service has a networking stack that I would categorise as a "hot pile of steaming garbage":

It is insanely, unbelievably, almost hilariously slow. Even internally they VPN-tunnel, they NAT, and then they then do some unnecessary L7 stuff. If you can talk to App service in under 3ms, then you're lucky.

Heaven help you if you've made the mistake of separating out an "API tier" or any such thing. Using Azure SQL Database is iffy also, but no worries, support will helpfully tell you how to improve your latency from an IaaS VM... which is not what you're using if you're using App Service.
The little I know about Blake was picked up by reading

Drive your plow over the bones of the dead

Great book

He apparently wrote a lot about the environment

And was vegetarian

Those images are pretty cool too. Unique-ish style
We can't "wean ourselves from the checklist style" because it's enforced by many systemic factors, not the least of which being legal repercussions. Modern medicine is "defensive first ask questions later", and the "checklist style" is the best way to have a good defense. This is orthogonal to whether you actually are a good doc.
My experience with Rust is that it tries to squeeze every last drop of performance, but instead of relying on simplicity (C) or unsafety (C++, the reason Mozilla started it was to reduce C++ memory-related bugs), it introduces language complexity (lifetimes, "prove that your code is safe, or fallback to a runtime overhead such as Mutex") and a little-bit of runtime overhead (explicit Option<T>/enum checks). In my mind, it doesn't play in the same league as high(er)-level garbage collected languages. It was made for robust low-level applications, which is why it's being considered for the Linux kernel, and not Lisp.

Concatenating strings in a GC language is easy, you just "+" them together, the cleanup will happen eventually. Concatenating in low-level languages means you have to think about the memory allocation(s) taking place, and the format("{}{}") is a lot more powerful for anything more than just adding two strings. What if you want to prepend "https://"? In GC languages, this might be an extra string being allocated and discarded, in Rust, it's a constant hard-coded into the binary. It just happens that the language has attracted a lot of people who are used to higher-level abstractions due to it's relatively pleasant syntax, type system and abstractions, ecosystem and perfomance.
Detecting Deception (2004)
I think GP's point isn't off the mark here, but also that the title doesn't need to be altered. There's no need for any additional electronics to construct a Dobsonian and mount capable of manually tracking DSOs, for instance.

I say this as someone who uses "computerized" and EQ mounts, but I also assumed from the title that this was a completely 3D printable project (sans mirrors, I can print my own washers and bolts), which is way more exciting a prospect than having to buy or put together a fairly complex kit, just not all of it if you have a 3D printer.

I just 3D printed a custom IR CCD mount for my CST, but I'm very interested in adapting this to some of my designs, so thank you for sharing!
Indeed, I am/was flow junkie
I agree, but my feeling is, if one person is bad at using debuggers it is their fault. If (as it seems to me) most developers are bad at using debuggers, then it's probably to debugger's (and associated tooling's) fault.
this makes my blood boil, the author is obviously technically savvy, but how damaging it can be for someone (even technically inclined) in this day and age.

related horror story:
https://www.nytimes.com/2021/01/30/technology/change-my-goog...

it would be a real shame if an organised group of person would start posting programatically to these slander sites with material from https://thispersondoesnotexist.com/ and randomly generated names. Storing all these pictures will cost something afterall.
Wearing earplugs helped me improving my sleep. Took me some time to get used to them though.
I think rust was targetted at c and c++. Do you like any more recent languages or do they all feel like they went the wrong way? I find Julia interesting, but I haven't delved deep.
sorry I tried, I'm too in love with Scala :-) even so much that I feel so unproductive in anything else that I'm almost frustrated
His ant experiments blew my mind. The only experiment I did with ants was rubbing my finger on their trail and then watching them wander around blindly for a minute or so.
While it is true that dynamic memory management in C and C++ is a source of memory corruption issues, the other great source is precisely the reluctance of many C and C++ programmers to use dynamic memory allocation instead of buffers of statically-defined sizes. E.g.

1. Functions which convert a number to a string, where the target string is a byte buffer passed into the function as a pointer argument. This allows C developers to pass pointers to statically-sized arrays of bytes, which leads to buffer overflows. (Inb4 someone shows up with "but that's the programmer's fault for not using an array that's big enough".) Example: strcpy.

2. Functions which return pointers to static storage, which makes them thread-unsafe, and even in single-threaded cases is error-prone, when you call one such function multiple times in succession (aliasing). Example: gmtime.

Both cases are very prominent in the standard library.

If instead functions allocated memory dynamically, then they would avoid buffer overflow, because size would be handled exclusively within those functions, allocating as much memory as is needed, no more, no less; instead of forcing the programmer to worry about the size at every call-site. They could also be easily made thread-safe and less error-prone (eliminating aliasing), provided that the allocator is thread-safe.

Another issue with the first case is that it leads to uninitialised variables. Often a pattern of "bool NumToString(int n, char* dst, int size);" is employed instead of "Optional<std::string> NumToString(int n);". This invites the possibility of using "dst" without checking the return value, which says if the conversion succeeded. In this case dst is most likely uninitialised, and definitely incorrect. An "Optional<std::string>" solves both issues.
Ahh, this makes sense. Thank you for the link. I was thinking it was more of modifier to switch on tail call optimisation (or something) rather than a scoping modifier.
Could someone please explain how Proof of Stake is still decentralized?

Seems to me that any scheme that puts the control of what gets written to the blockchain in the hands of entities heavily invested in it allows for the possibility of token value manipulation. Simmilar to an IMF intervention created fiat currency crisis.

Doesn't it create insiders out of all proof of stake holders without the protections of the SEC for everyone else holding a lesser stake? Maybe this is true of all crypto regardless of methodology.
Thank you, I'll think about it
I think it might be a common preconception. Actually 95% of Stallman's views are very reasonable, progressive and coherent. The remaining 5% are related to his consideration of creating proprietary software as "immoral." And while I'm sure these would be heavily downvoted here as few people have the luxury of working on free software exclusively, I'm sure the remaining majority would have many upvotes.
Imo tuples are a nice feature for the same reason lambdas are. Sometimes, you just want an anonymous way to bundle a few values in a local context. For instance:

match (a, b) with:
(4, 2) => "Hello"
(1, 0) => "World"
(_, _) => "nope"
> Physics disgusts me a little bit now, but I used to enjoy doing physics. Why did I enjoy it? I used to play with it.

When I was at uni other grad students often referred to us studying physics as “Spielkinder”, play children. No one could say to what end they really wanted to study physics for. Mostly it was just fun understanding how things worked. It was a lot of fun.

The downside of this was that when I was finished I really didn’t know a lot about the real world.
This is truly despicable.

Using SEO tactics to launch an automated slander campaign against common people, who likely have very little other web presence so that the slanderous material som be among the top hits, and then charging them money to have it removed.

Horrible, considering how many recruiters will lazily just Google a candidate's name and blindly trust the results.
Not a lot of Americans deny the genocide of Native Americans or the slave trade, do they? You have a point, but at least the US president has admitted that the Iraq war was a mistake.
vs Pure Reason

Reason gets you a closed form for F(n), the nth Fibonacci number. The author's naive fib with memoization is O(n). The closed form is O(1) if you consider exponentiation to be a constant time operation.

https://en.m.wikipedia.org/wiki/Fibonacci_number#Closed-form...

Quite a thing to overlook in an article about efficiency of algorithms... why am I not surprised?
I thought about this, but it seems very priviledged to "complain" about earning lots of money and not enjoying it as if I was 12 when people with real misery and pain are all around.
I care. That it has worked for the last decade only means that Python was without a working debugger for 2/3 of its existence. 1/3 of which I had to suffer from it.

Also, pycharm isn't really what I would call a proper debugger yet, attaching remote running processes for example just doesn't work reliably yet and is very new anyways. Debugging embedded targets just doesn't work. Multithreading is iffy (but that's unfortunately normal in Python).
I'd want to want to do this :-)
As a side note, trying various passwords doesn't strike me as a great idea either. You're basically telling the site you're trying to log into your other passwords you use, along with a username. At the very least you're revealing something about how you derive your passwords, if you have some scheme.

I'd say that if I'm not sure about the right password, it's safest to go straight for a password reset function, instead of giving all my passwords or a password derivation method to some random website.
This actually isn't true.[0]

If you want to try to paint a picture of the modal murder in the U.S., it's "Young brown man argues with other young brown man about something silly, things escalate, someone pulls out a cheap pistol and shoots the other guy"

Gang murders, while profitable fodder for mass media, are a clear minority.

0: https://ucr.fbi.gov/crime-in-the-u.s/2019/crime-in-the-u.s.-...
Portland mayor urges residents to ‘unmask’ rioters after weeks of violence
Some go as far as saying that "Rust is pretty accessible to developers coming from scripting languages (JavaScript, Python, etc)." [1].

Meanwhile in the real world:
"I find myself hanging for long periods of time on borrow checker errors. One of the errors has stopped my progress dead for a week now, I swear it worked a week ago and then Rust decided that a borrow I was doing was no good." [2]

[1] https://news.ycombinator.com/item?id=26929012

[2] https://news.ycombinator.com/item?id=23807574
Fantastic! Here are three features that I would love to see:

1. collapsable threads, ideally with three different shortcuts: (i) collapse daughters of current comment, (ii) collapse mother of current comment - this is very useful when on the Nth comment far away below the mother comment, so no need to scroll up, but can continue reading the sister of mother's comment, (iii) collapse entire thread.

2. A story view for the /active section. I think there is no official API for it, but I find it to be the most useful entrypoint into HN at the beginning of the day, to catch up.

3. Semi-offtopic dreamland: a version adapted to (a terminal in) the remarkable and related tablets :)

Great job as it stands already though.
I use Newsboat and newspaper3k for that, works pretty well.

Example: https://hund.tty1.se/2020/07/29/an-introduction-to-the-web-f...

You can add the HN feed with hnrss: https://hnrss.github.io/

Maybe not the best solution, but I've been using it for a couple of weeks and it works.
> It’s not.

Yes it is.

> Theory can be referenced

How do you know that the person is even able to comprehend theory?

> Interviewing in eng is broken, but afaict its a “worst solution save all others” kind of scenario.

That's your opinion.

> Some of the most creative and productive coworkers I’ve had struggled with leetcode style interviews.

Good for you. But "slumpt_'s most creative and productive coworkers" is not a good metric for hiring.

> They’re a bad tool for anyone who isnt a new grad, and even then.

Again, that's your opinion. I'm not a pro in those interviews, but studying DS and algos opened up and pushed my mind to its limits like nothing else. Your whole thinking process changes when you start working on this, you start thinking about constraints, performance implications, pro and cons of different approaches. It is called Computer SCIENCE for a reason.
Sure, but my question is why it carries this price tag, not whether I'll get years of use out of it.

So if I understand your comment correctly, it's the R&D (making sure all parts work together correctly) that decides the majority of the price here, not one of the actual components?
Thank you, I tried clay modelling. But still I feel tech is my real passion.
I wish you all the best with your burnout
Oh c'mon...

Electron apps aren't slow, bloated, and awkward because the new junior SWE on the team used a O(n^2) tree-walking algorithm for the app's search feature - they're like that because it's inherent in using a general-purpose web-browser engine for your desktop GUI.

Micro-optimizing application software programs by implementing different algorithms is completely detached from the big engineering choices made at the very start of a project where the application's substrate and platform are chosen - and those decisions are made not with a view towards program computational efficiency, but primarily towards developer-productivity. Thanks to Electron someone who grew-up making websites as a teenager with little to no exposure to the horrendously unproductive and beginner-hostile world of MFC, GTK, and Qt can make an engaging and appropriate cross-platform desktop UI in under a day.

-----

If we want to see the Electron "problem" fixed, then the best solution is for the Electron team to figure out how to cut down their build of Chromium to remove all of the features unnecessary for trusted desktop applications (no, we don't need process isolation!). I'd love to see a build of Electron+Chromium with all of the JavaScript removed, so that it's a bare-bones HTML+CSS layout and rendering system, and have it wired-up to some OOP application binary (be it Java, .NET, C/C++, etc) which manipulates the DOM - I don't see why that should need more than a few dozen MB RAM and run in a single process.
I've been working on https://presentador.app/ for quite a while now. Still under development and but is usable to create a simple presentation and new features are coming soon! Thank you
Sadly I just started new one with thought it will be better (it is, but only slightly)
nobody ever writes books assuming you know how to use the language, I suppose it decreases customer base.
There's a link to an unprocessed part of a photograph in the Post Scriptum:

https://www.podniesinski.pl/portal/wp-content/uploads/slice1...
It's strange that length is not a generic. More over List has length but Map doesn't.
You're ignoring the reality, which is that people died preventable death and suffered preventable harm because hospitals were overwhelemed.

There are thousands of English HCPs talking about this. Here's one: https://twitter.com/seahorse4000/status/1386263023900319745?...

(That comment about staff is for their particular NHS trust, not the NHS as a whole)

We rationed oxygen

We shut the hospital

I was managing icu pts on amu

We stopped elective surgery

We had over 400 staff off with covid

I had 9 pts die on a single shift
You'll see the usual answers here such as

- better mattress and pillows

- sleep tracker

- supplements or substances like melatonin or cannabis (or lack thereof such as alcohol and caffeine)

- lack of screen use at night

- red light filters

- CPAP machines or mouthpieces

- napping (or not napping)

- diet and exercise

which are all well and good. But the number one biggest contributor for me has been to just fucking sleep at the same time every night.

I used to wildly swing my sleep times either by staying up doing work or having fun watching movies and playing games, then I'd be very tired the next day and sleeping early, only to wake up early again. Sometimes I'd just stay up all night as my sleep time was wholly shifted a full 12 hours.

Once I started sleeping (or even just getting into bed) at the same time every night, everything fixed itself.