skysight-inc/HackerNews huggingface dataset:
Stephen wolfram turned me on to these goofy glasses (https://www.smithsonianmag.com/innovation/could-these-glasse... his description said that he could code in the back of a car with them on.

I find them very effective at reducing seasickness below decks. I won’t say there are no funny feelings being below with roll, but I will say I could definitely work hanging upside down angled to roll direction with only mild discomfort: a HUGE improvement over folk remedies.

The way they Are said to work is the liquid in the glasses shows a real horizon and this settles your brain into being able to believe your inner ear. I think a less goofy version of this could be built out digitally on the inside of sunglasses; I think it would be pretty popular.
Yes but the federal government has only so much influence in local level decisions so it will still pan out to be a massive net positive.
Not in CS, but the school offers an MBA and an master's in education.
Cloudflare uses Rust and has job openings in Austin.
> the restrictive rules imposed on the rust community.

Can you be specific?
Here is the data from Microsoft Security Response Center on this [1]. Slide 5 shows double as many CVEs as 4-5 years prior, triple as many as 6-8 years prior. Further, slide 10 shows 70% of CVEs are memory safety and that ratio has been constant since 2006. It follows that the absolute number of CVEs which are memory safety is double 4-5 years prior and triple 6-8 years prior, which is inconsistent with a massive reduction.

The magnitudes here are in the many hundreds of CVEs per year from Microsoft (and growing), not "one CVE in 2021". 70% there is not a negligible number.

[1] https://github.com/microsoft/MSRC-Security-Research/blob/mas...
Oh, great. So much progressiveness. An article that was discussed two years ago was quickly flagged today.
Well, there were a bunch of white nationalists in Germany doing all sorts of terrible stuff, and the news decided to filter the message to match their sponsors’ ideology (by adding fake stories about eating babies, and suppressing stories about death camps).

How did history judge that again?
The only one I've heard of is Boehm GC. Is it not correct or stable? I do not have any experience or special knowledge of it myself.
As a lefty, the ink's drying speed is key, but also, the size and shape of the nib. Lefties should be using big bulbous bold 1.0+ tip nibs that glide across the page instead of stab into it.

Unlike a rolling ball pen, it won't skip or fail to roll with pressure due to the rightward angle-of-attack against the paper, so a proper fountain pen is actually better than most other pens for us lefties. First time experiencing smooth writing in my life.

Ultimately, the enemy of lefties is the pointy tip, and the rolling ball that's expected to be rolled against the paper, not pushed against it. Felt-tip pens work just fine for us, so those pen Sharpies are alright, but so are the 1.0 bold tip roller ball pens from Pilot, at least all the Pilots I've tried. Can't say all the others work as well.
I’m in the same situation. I have large hands but only use 2 thumb buttons per side and also use layers to avoid the top row of the keyboard altogether. I love the Ergodox but prefer to limit my reach for better ergonomics.
Not unions. Literally just the police union.
The bar here is C.
> "All bets are off" is an insane way to characterize this.

Well, it depends. If the unsafe{} code is also unsound, then "all bets are off" is quite correct because you can't assume memory safety or lack of UB, even in your own code. In practice, you can use cargo-geiger to warn about crates that internally rely on unsafe code, and cargo-audit will warn about known security issues (including but not limited to unsoundness and memory-unsafety).
ASL in a faraday cage :)

More realistically, a bathroom shower; the water plus the echoes from the tile/glass in typical bathrooms are better white noise than any digital solution. Two pots boiling at different heats also works and you potentially get the benefit of nutritious meal. Many kitchens also have noisy extractor fans conveniently located right above the stove!

Working in film, you want sound to be realistic but viewers have to be able to link it to something on the screen. Those loud hums from store/restaurant refrigerators used to be the bane of my life because while they were often the authentic natural sounds of the environment they're rarely visible unless you are specifically shooting a scene in a meat locker or next to an airport.

If I was shooting a remake of The Conversation for the digital age and my secretive chatters weren't using high tech wizardry, I'd give them two am radios tuned to bible or foreign language channels. 3 overlapping sound sources recorded at a single point (without the direction resolution our ears provide) are possible to disentangle, but it's a ton of work. Speech is harder to filter than music.

If you're in real fear of aggressive surveillance but must communicate, pick the noisiest room (usually the kitchen), sit on the floor or under a table, and hold your conversation inside a large cardboard box with some thick blankets over the top. I would sometimes use this when I needed to record in a noisy environment where it wasn't practical to run wires.
> In any case, developers don't seem to be too keen on adopting Ada.

Yes, unfortunately; the trend seems to go in the opposite direction; but anyway: if I really wanted to switch to something new and spend the effort to invest in new tools and education, then I would rather choose a technology with a decently long track record demonstrating that it fulfills all my expectations because of which I left my original technology. Rust will take one or two decades for this; Ada/Spark has already been through this.
> It’s an overt and completely unnecessary reference to slavery, and not even a particularly apt or useful analogy.

Is it not far more demeaning to act like anyone would crumble under the weight of mere words used in a technical context?

Should we drop the term clone because it causes the religious to dwell on evil scientists playing god?
The Father of Mobile Computing Is Not Impressed (2017)
Yes. They announced about a month or two ago that they received permission from WASC, a regional accrediting agency, to start the accreditation process.
I think it's interesting in the context of current events.

Nothing interests everybody. If one story doesn't interest you, there are plenty of others to read here, and if you run out, the 'past' link in the top bar will take you to many threads you missed. Some of those will surely be interesting.
I almost lost interest with the school but I was motivated by my supervisor through her constant messages and quick response that made the university processes easier for me.
Find new books to read using Python
> An astoundingly cheap and surprisingly good fountain pen ($4) is the Japanese-made Platinum Preppy F

I just wrote a comment praising cheap Platinum pens as well (though mine's not that cheap!) They must be on to something.

> I grew up writing with cheap Parker fountain pens in elementary school-- those poor experiences colored my perceptions

I have a fondness for the Parker Jotter, mainly from the fact that my grandmother always used one. I like their simple appearance as well. I have a couple, one of which I use quite a bit, but I agree, the cheap Parker doesn't write as well as the cheap Platinum.

Hmm - in fact I think I left a filled Parker Jotter in the desk drawer at work, back in the middle of March...
After 7 years, Lego releases a new Mindstorms kit
Rust as a language is great and at this point I'd much prefer to use it over C or C++ any day of the week if the application and context permit. However, I don't think I'd ever want to participate in the Rust community or really even have any contact with it. Everything I've seen of Rust's community has been deeply toxic and hostile to anyone who falls short of worshipping the language and aggressively promoting and defending it at every chance.
If you are choosing a bike based on stack and reach then note that they are related. The reach and stack are measured from the same point (join of top tube and head tube). So if you see a bike that has 20mm more stack and 10mm more reach than another then it actually may have 16mm more reach at the same stack height from the bottom bracket as the smaller bike, (depending on head tube angle) so it's longer than you think.
Well written C# definitely has a performance ceiling that greatly reduces what things need C++ or Rust, but idiomatic C#, what most people actually write, what is taught and encouraged is pretty slow. (lots of linq, arrays of pointers to objects on the heap, that are iterated over with iterators instead of directly, calling virtual functions that are not devirtualized, etc etc etc)

One thing I like about Rust is the idiomatic way is usually very close to the fastest way. There are exceptions of course. But it you tend to get steered to efficient solutions.
Someone tried to make a snap on keyboard for iPhone on kickstarter but got sued the bejezos by BlackBerry. Yesterday I sold my last Blackberry keyone running android.
The're quiting for real this time.
I use a Pilot Metro and taught myself to write on an angle so that my hand stays below the line of text. Something of a pain if you don't have room to spread out, but otherwise no more ink smudging than using any other pen.
That link is dead, I am interested though!
"So much tech today is being built just to put a band-aid over this stuff, instead of addressing the core issue (the browser is no longer used to just deliver static documents)"

Am I the only one who thinks the sooner the web goes back to just delivering static documents, the better?
It's pretty well established that calories alone, not macronutrient composition, are what is responsible for weight loss: https://examine.com/nutrition/what-should-you-eat-for-weight.... There are plenty of studies comparing low-carb diets to not and no difference in weight loss was found when controlling for calories.
You can already use reference counting when needed. Pretty close to what you are envisioning.
Thanks for the 100% HN-style "whatabout" nitpick that's completely beside the point of my comment! It has advanced the conversation and enriched all our lives.
I understand the feeling, but what good does throwing it in their face do?
Startups Weekly: A Silicon Valley for Everyone
Again, disabling features is a feature given to the site developer, not to the visitor, who's actually running the code.

It would be so much better if browsers were User Agents and respected user settings before the will of the site creator.
That is a different crime: anti-trust violation. That is when you use your dominant market position to harm consumers.

This is unrelated to insider trading.
Switching off JavaScript makes me love the internet all over again
Things are so fast and zippy. Things don't jump up and down as you go to tap. On mobile web the differences are even starker. Has anyone tried switching it off? How has your experience been?
You might not have to relocate, send me an email if interested.
If I use libpng or libjpeg to decode an image and that causes a buffer overrun or another security vulnerability, that is very much a bug in libpng or libjpeg.

The same is true when I open a database in SQLite: if that causes a security problem, it's a bug in that library. I don't even see how you could validate a database file before you hand it over to SQLite.
They don't just have full coverage. They have 3 completely different test suites.
From the description, I didn't watch the video, loading the database and querying it is enough to run the exploit. To compare with your example, it would be like having a remote exploit if your application queries a specific http endpoint.

For sure application developers could sandbox the http library, sqlite, or stop using libraries developed in so unsafe programming languages but it's a bit too early for that.
The Chinese Remainder Clock on Perucca’s website is more interesting still:

http://www.antonellaperucca.net/CRC.html
> In most cases you have more leverage over the state via voting and lobbying.

How is this leverage at all? Apple doesn't have my health data. I have a device produced by Apple that allows me to store and share health data conveniently. The state has the unilateral authority to use violence against me. I have very very little leverage on the state vs a company that sells me a glorified filing cabinet.

> The point of gathering all the health data is that it's valuable to provide your health information to other businesses. . . They'll provide an API for third parties to make business decisions about your individual health. There is no way to do this is a privacy-preserving way.

The point is that's valuable to me, the person who the data is about. Apple already has a. privacy preserving model all they to do is follow their current model. Collect all that data for me, the person who the data is about, store it on my device, and allow me, the owner of said data to provide it to whoever I see fit. This allows me to get the best of all worlds. I have this amazing resource that tracks my activity, diet and environmental exposures and various clinical health metrics across many different information streams. If I want to share my workout routine with my insurance company to get a discount I can decide to do that, if I want to show only my doctor i can pull it up during a visit and show him. If I want to share my Xrays or medications with my personal trainer I can likewise make that decision. There is no reason for me to think that Apple will implement an API here for mass data exports because there is no reason too, I can send the data on a case by case basis. And if Apple changes their privacy policy, which I honestly find unlikely, I can delete and walk away.
https://areweguiyet.com/

TL;DR it has some support; however most libraries are just C bindings, or else they are very domain-specific.

You can, but it is not as smooth as using other languages.
Programming Persistent Memory
I think it a language that let's you write your own GUI toolkit. Like all gui solutions are kinda bad.
I used to have a couple of bottles of coke and ginger biscuits for the first few days. My theory is that you need energy/stimulant and hydration. The coke is basically sugar and caffeine and liquid. The longer it is in your stomach the more you will have absorbed. I like ginger biscuits anyway and they are also very sugary. Oh, and the coke doesn't taste any different coming back up.

The article started with the phrase:

The worst thing about being seasick is knowing you are not going to die.

but I've heard this phrased better as:

At first, you are afraid you are going to die,
but then, you are afraid you are not going to die.
Whilst it is true that it is Amazon’s _own_ first SDK, one already exists - Rusoto - https://github.com/rusoto/rusoto (disclaimer: I made some contributions earlier in the year to help out with the transition to being async-await-friendly).

I’d be (negatively) surprised if AWS started from scratch instead of from Rusoto. That was the approach taken for the original Go SDK, which was adopted from Coda Hale’s work.
Are we talking about good old fashioned CRUD applications here or is this something different?
To the maximum extent, bounds checking should be elided via greater compiler knowledge of what exactly is happening. This would leave arbitrary bounds checks limited to user input, in which case the vast majority of the performance penalty goes away right? "Bounds" are a higher-order programming language concept that I suggest may not have a place in hardware.
It's sort of ironic that today I tried to install Rust through rustup-init.exe, on Windows, and it didn't work because of its dependency on Microsoft Visual C++ Build Tools 2019. Rustup keeps saying "Install the C++ build tools before proceeding", though it did install from the rustup provided link.

Developer installs continue heavily invested in dangling pointers (called paths) and other unsafe practices, C/C++ style. I find that baffling.
You have to use a handshake resolver. This explains how to do it with nextdns.io: https://www.namebase.io/blog/how-to-access-handshake-domains...
> we're all on board with the idea of intellectual property actually being a thing now

We most certainly are not. I personally believe that intellectual property as a whole doesn't make sense in the 21st century and should be abolished.

> there have to be limits to IP holders rights on some level

There are. The laws generally recognize fair use and reverse engineering for interoperability.

> I feel like reverse engineering a file format is a pretty reasonable place to draw that line

Absolutely. Unfortunately, in the US it seems corporations can force people to give up their rights by making them agree to it. Therefore, "you must not reverse engineer our software" is a standard clause in every contract and it's not negotiable.
> I dunno... English to sql query is probably easier than English to French.

You can have substantial success in transforming English to French without understanding what is said. Some big grammar rulebooks, some dictionaries, and a few terabytes of sentence-aligned parallel texts and data on statistical colocations in the languages will get you most of the way. It's far from 100% accurate but the human brain is surprisingly good at filling in the gaps with the mangled grammar and odd turns of phrase.

I'm not so sure the same is true about English to SQL query. The exact meaning of the English must be understood, in context, in order to construct the query correctly. No room for error or fuzziness. The database engine doesn't have human cognition to fall back on should the query be slightly malformed or ambiguous.
IMO crates are the biggest danger to Rust. It may very easily turn into the next NPM.
I have fairly large hands and could hit all of the thumb keys. But I only use 2 so that I don’t have any reach or large movements when typing. I agree that it depends on hand size and your preference. Regardless, it has been an awesome keyboard for me due to customizing layout/layers.
Last week's stock market volatility in 30 seconds
I would go as far as saying it's Microsoft's best chance at safe systems programming, but no further.

I love Rust, but I'd refrain from such sweeping statements until other options evolve and get the opportunity to be time tested.
Can you use built-in libs and have it still count? Can you use anything other than built-in functions? Python itself uses quite a few external libs too and Python itself is also an external dependency.

You can make a useful thing by only adding 100 lines of glue to existing libraries is still a useful thing.
Yes, it is a DNS root zone built on a proof of work blockchain
If I understand this correctly, you need a malicious sqlite database file, which I don’t think you could create with sqlite itself. Which means, in order to exploit this, you first have to get this malicious database onto their computer. So while this seems serious enough, it may not be time to panic quite yet.
> The best defense for it is that it evolved from handwriting, where the difference between `matmul(a,b)` and `a x b`, repeated a few dozen times, is significant. These days, as I type, I define commands to turn the unambiguous longhand into the shorthand.

How much math/physics have you actually done? In deriving something, or solving a problem, I can have pages of the concise notation. Dealing with your expanded notation would be Hell that no mathematician/physicist would put up with. We struggle even with the concise notation. We'd like an equation to fit on a line, for example, and it's a pain when it doesn't. With your notation, very little of substance would fit on a line.

It's a bit like programming in that sense. If you can fit a function in one screen, it greatly improves the chances of you understanding it. With your notation, you're intentionally going verbose. It may help you understand that one line, but will likely make it harder to understand the overall picture.

And really, it's not `a x b`, it's 'ab' :-)

(And with matrices, it's more often 'AB').

> Mathematical notation is hard, and everyone using it should be a little bit ashamed at how needlessly difficult the field is.

Everyone has his preference of comfort. I don't like much of the notation of logic, and I'm thankful most other math disciplines don't replace "and" and "or" and "negation" with the symbols used in logic. However, the set of practicing mathematicians who share your comfort preference is virtually nil. I don't like the concise, implicit notation in general relativity, either (where lots of stuff isn't even written down but kept in your head) - but I'll trust what everyone who has studied it says: You'd go crazy if it were as explicit as I want it - let alone your level of verbosity.

Also, as an aside, I've had to read code that represented mathematical operations (numerical integration, matrix operations, etc) written by others, and without comments or access to the author it was virtually impossible to follow. Most of the standard programming language's syntax is poor for mathematics.

Edit: I'll add that if your primary exposure is through math journal papers, then I do understand your frustration. They're usually much, much harder to understand than the level in a typical textbook. Unfortunately, this is intentional.
Surprised this is coming from the company that helped build f* (https://fstar-lang.org/)
The context here is that this is the only way to get link.exe; if there were any easier way to do it, we would!
Absolutely. In another comment I mentioned that I like the Rhodia Webnotebook paper a lot. It’s super smooth but takes the ink nicely and doesn’t blur. There are plenty of other great options (and I don’t have Lamy or Rhodia stock, honest!), but that’s my sweet spot for good paper, easy to find, nice form factor, and reasonably priced.
don’t focus on work after work.
work to live, not live to work
What about a Rust to C translator? It would produce "safe" C right?
As many others have pointed out, this isn't insider trading. To drive home the point of how much insider trading laws aren't about fairness, consider this:

It isn't insider trading for Facebook to use all the information it has about web trends to buy companies. However, if a Facebook employee used the non-public information Facebook has to go and buy stock in those same companies, that would be insider trading and be illegal.
Ask HN: Experience with Interview Coaches?
I'm curious if anyone has had a good experience with a coach / some kind of service to improve your interviewing. Possibly this include a bit on coding screens, but I'd be more curious if there's anything out there that can improve more discussion based interviews (ie architecture, past experience).
"Hardly ever used" sounds like it might be the result of your personal filter bubble?
Here's the article I couldn't find before on the process https://lwn.net/Articles/457667/

Which links full source for the process you described https://lwn.net/Articles/457672/
Plate tectonics vs. erosion–what sets the height of a mountain range?
Yep, embedded is a whole other area than software that runs on a server host or desktop/laptop workstation. That shouldn't stop us though from improving safety where the restrictions of embedded development don't apply.
Locks are physical devices and so are susceptible to all manner of wonderful and surprising physical attacks.

Programming languages can artificially limit the attack surface. (Up to hardware exploits which can subvert the processor itself.)