skysight-inc/HackerNews huggingface dataset:
This is a naive and dangerous perspective. You're basically saying that memory safe languages don't solve all problems so it's fine to use unsafe languages.

Don't write code in unsafe languages unless you have to (almost never for new code). Period. You will have some problems either way, but you will have fewer problems in a memory safe language.

Pen testing is not even remotely a good mitigation to depend on against the dangers of a language like C. Its fine to do for defense in depth and to find problems not related to memory safety, but it's no substitute for making a more sensible language choice.
almost 20 years... so yeah I dont think it's going away. Being anxious about backing up traffic or the other things I described isn't that abnormal I don't think?

When Ive been a passenger, Ive seen most other drivers feel this way--whether they say it or not, you can see on their face they are feeling anxious.
A good history of where modern JavaScript comes from (from old school to webpack and babel).

https://medium.com/the-node-js-collection/modern-javascript-...

Helped me understand the how and why of webpack.
do they have "how tall is your rental truck?"

I had a friend I helped move and we had to deal with google continually routing us towards low bridges.
Of course this author has to virtue signal about how _he_ would never buy a Starbucks coffee

> First off, I would personally never buy a cup of coffee at Starbucks. But I understand why some people would.

He'll only take his Arch Linux Pinebook (ok, I just assumed that) into his "local roaster"

> The cup-of-coffee-fallacy becomes much more obvious when it comes to subscription services. I might buy a cup of coffee from my local roaster, and would happily buy many cups, some beans, and snacks on a regular basis.
If you look at the case study of the first patient in the US from New England Journal of Medicine the patient didn’t get to a poor condition until day 11 of the illness https://www.nejm.org/doi/full/10.1056/NEJMoa2001191 at which point they tried an experimental antiviral and he recovered. 11 days ago, there were 527 cases. Patient in study didn’t come in until 2 days after having the sickness so if you look at -9 days infected was at 943. Currently at 305 deceased and 443 recovered, total of 748, so it seems like the infected between 9 and 11 days ago are the ones recovering or dying. The number of infected goes up rapidly from that point (now we are at over 16x number of infected from 9 days ago), so we’ll see the numbers get more accurate soon. Although number of cases rapidly increases, the antiviral treatments seem to help dramatically and they have just begun to start experimenting with them. Currently sitting at 40% mortality using D/D+R, but I imagine we’ll see more recoveries as antivirals are used.
Uh...

>The code that erases the line of asterisks does not properly reset the buffer position if there is a write error, but it does reset the remaining buffer length...

Then the next paragraph:
>Because the remaining buffer length is not reset correctly on write error when the line is erased, a buffer on the stack can be overflowed.

So which is it? Does it correctly reset the buffer remaining length or not?

These types of contradictions existing in bug descriptions do not fill me with confidence that someone has actually fixed the issue. Guess I'll have to dig into this one myself. Just what I wanted to have to do. Excuse me while I go and learn way more about the innards of sudo than I ever wanted to.
Funnily enough, with the addition of the newest element to that format — the postcode — to the end, this format also becomes less "logical", postcode being very specific.

Of course that's arguable, as postcode shouldn't really be considered a component of-, rather an alternative to- other sections of the address.
The kind of person who purchases a system exclusively to play an unreleased game title, especially the latest in a series in over a decade and a half, is rarely concerned about the economics of their decision, they just want the best.

I've had friends with barely two pennies to run together buy new PCs, monitors, desks, and chairs on credit for little more than a slightly better play experience in anticipation of a release.

I'd wager that's even more true for half-life, since its fans are likely older and more established than Steams typical "hardcore" gamer.
> It's on the same level as "monter en haut" (to <go up> up) or "descendre en bas" (go <go-down> down).

The same thing happens in Spanish ("subir arriba" and "bajar abajo"). It became a serious pet peeve after someone pointed it out to me, until I noticed that people only make this "mistake" in either very noisy places or very time-sensitive situations. It's more a desired redundancy (even if not conscious) than the accidental redundancy in the case of au jour d'aujourd'hui.

Writing about this reminded me of how some people will try and make conlangs that compress as much information into as few sounds as possible, only to render them unusable - whereas within a rounding error all natural languages have the exact same information density and Signal To Noise ratio.

Edits: grammar, formatting.
Express lanes can be separated lanes with fewer exits that allow you to go faster because of fewer lane changes. Chicago (and I'm sure many other cities) have these. They're separated by concrete barriers and only have exits every couple miles, so you'll be right next to super slow traffic while you're doing 20+ MPH more than the "free" lanes. In Chicago, you don't have to pay to go in them, but here in LA, they have High Occupancy Vehicle lanes that you can use if you have more than one person in the, OR if you pay for using the lane with the FastPass you use for paying for other tolls.
Or at least it has survivability, which is often but not always a proxy for a "good idea." Ideas that are very good but also unpleasant or exceedingly complex are unlikely to survive. Perhaps for some definitions of good, these ideas are not good.
At St. John's College (back in the 90's anyways), we called this "teaching science and math historically" (as opposed to teaching the history of science and math -- which tends to emphasize dates and names).

By telling the story of science and math, we gained the context of who did what for what reasons. Which unlocked my understanding of science and math in a way that textbooks never did.
Sure I think MF DOOM is a good place to start especially his Madvillainy album with the producer Madlib which is really well regarded. More recent stuff I enjoy is Mick Jenkins from Chicago, his 2014 The Waters mixtape was also really well reviewed. Aesop Rock is also generally thought of as a really good technical rapper. His album None Shall Pass from the Def Jux days is really good though I prefer Skelethon which has less word play but is also brilliant.
Unfortunately, they've been using this to promote traditional Chinese medicine instead, and this may well come from the top: https://edition.cnn.com/2020/02/01/asia/chinese-traditional-...
Listen to Other Startup's Pitch
Wikipedia article: https://en.wikipedia.org/wiki/McDonald%27s_Monopoly#Fraud

The reason why this incident isn't more widely known is that the trial commenced on September 10, 2001. Needless to say, coverage of it was quickly eclipsed by more serious events.
New frontiers in life sciences #1
I think I read an article like this on HN a few months ago, ty for the share
Regus is very depressing, I agree. Feels like a waiting room. I've never been to a WeWork (left corporate life before they became a thing), but I'm sure it's much better.
https://www.zagat.com/b/48.56-what-can-you-get-for-nycs-aver...

That's from 2013.

The vast majority of people are not potential customers for a small SaaS startup charging money for "it would be nice to have" service.
The Creepy Genetics Behind the Golden State Killer Case (2018)
For anyone wanting an accurate perspective on the risks of This virus I'd highly recommend watching the Youtube videos MedCram is doing. Their first two esp explain the basics and they have been putting out a daily update.

Citing the fatality rate really buries the lead. The issue is that in a high percentage of cases (~29%), including perfectly healthy people, the virus causes ARDS which is a serious condition that requires hospitalization and putting the patient on a ventilator. Combine that with the highly contagious nature and it isn't hard to imagine a scenario where the number of people that require intensive care overwhelms the healthcare system. There are also other concerning factors like people being contagious for several days before the onset of noticeable symptoms and this could be very serious if not taken seriously.

https://www.youtube.com/watch?v=9vMXSkKLg2I

https://www.youtube.com/watch?v=UCG3xqtcL3c
I disagree - a bit. There is often a blue ocean that can be created in the industry or around it, and usually pioneers are part of a small group to see it first.
Except that some of the languages that target CUDA do so via PTX, not by migrating their compiler backends into LLVM.

So if HIP will only work with LLVM, that is also a non-starter.
I'm willing to work on replacing most GNU / UNIX tools with Rust equivalents. Anyone willing to fund such an effort?

Seriously though, as others are saying sarcastically, I'll join them right up: "C is completely fine, you are just doing it wrong, it's a safe language when you know what you are doing".

Yeah, about that. <Glances the article again>

It's not a matter of "if", guys. It's only a matter of "when".
Maybe. but what if their peer has far fewer commits to their name, far fewer written unit tests attributable to them, because they spend most of their time using their indepth domain knowledge to assist other developers, who then make commits based on that contribution?

Do they have to sit around and ensure that their coworker includes a "Co-Authored-By" in the commit message? One commit message? All commit messsages? etc. etc.
POIs are a whole different story.

I can't speak for US but in Australia and UK it is so far behind Google. It feels like 1/3 of them are simply missing and a 1/3 of them are inaccurate in some way e.g. opening hours.

I don't know how Foursquare and Yelp who supply Apple are surviving right now with such inadequate data.
Wow, that took me back.

Small nitpick, XHTML does live on in one important place: epub, which is the most commonly used file type for ebooks.

I do a lot of epub work at Standard Ebooks, and at first I hated XHTML for the exact reason the article describes: A single tiny error makes the entire document invalid and it can be hard to spot it and recover. Also, namespaces were (and still are) a massive pain for little to no gain.

But over time I've come to really appreciate XHTML, again for that exact same reason. It forces you to write correct XML, and there is no possible ambiguity or multiple ways of representing a tag like there is in HTML5. `<br/>` will always be `<br/>`, not maybe `<br>` or `<br/>` or even `<br></br>`. An XHTML document from someone else will be both human-readable (after pretty-printing) and easily machine parseable. You also get xpath, which is a way of selecting elements akin to CSS but even more powerful.

Ultimately XHMTL is better suited to epub's use case, which is static documents that are written once and not dynamically generated by templating languages or libraries. Too bad there was some talk of epub switching to HTML5, though it's unlikely future revisions of epub will ever see wide adoption.
I drink a pot of coffee a day, which works out to around $.03 per cup. Pretty cheap for that vice.

I know that Starbucks tastes better than my drip machine, but I don't really care. Coffee is coffee to me, java junkie that I am.
Wework is just Regus with better branding.

Much like we now have up-market coffee shops. It's not innovative, just a perfected execution of an existing idea.
MM_preload...

That's Dreamweaver I think, steaming pile of crap its pages were.

Edit: actually, it was a very good IDE for writing html at the time I used it; it's wysiwyg led people to make pages that were a terrible mess under the covers though.
Gorbachev used to say that Chernobyl was where the USSR really started to crumble. The disaster made clear how morally bankrupt and technically incompetent the system really was, wiping out any remaining goodwill or trust. Similarly, Katrina was where the semi-fascist US consensus under GW Bush went to pieces.

I suspect China will experience a similar moment at some point. This might well be it.
I've often thought it would be fun to have a "novel navigate" option, where instead of just picking the fastest route it would try and pick a route that is somehow interesting, or that I haven't been on.

I find it pretty boring to drive the same route over and over, and I'd gladly spend another 15 minutes if it means I get a more interesting route.
I like to think of it as - pioneers build the base enough to prove some part of product, market, or technology so there is later revenue for the engineers to have a job. I've heard tons of engineers teams whine about technical debt - without realizing that there would be no company to employ them.

Pioneers tend to be good at many domains; engineers tend to be great at one or a subset of domains. Specialists refine the toolsets and methodologies, while pioneers main goal is to just help prove business value.
The article is very nice, thank you for sharing it!
> The best way to spend money is to buy time

I realized recently that I never fully understood ‘time is money’, never felt it first-hand truly and deeply, until I tried to start my own business. Then I ‘discovered’ that money directly extended the amount of time I could chase my dream and feed my family. Having a job never gave me the sense that I was buying time, maybe because it’s not finite in the same way the startup is.
Not even that, because sudo keeps your password in memory for a few minutes.
Soviet space dreams: looking for the legacy of the USSR’s cult of outer space
Scott Aaronson's Recap of IBM's Quantum Computing Panel in Davos
I’ve really liked my wework space — recently I’ve started to see early signs of cost cutting ...

They’ve moved the cold brew downstairs so there is only one tap instead of two and replaced it with a much lower quality cold brew (the old one was extremely good — from a super high quality local source)... it’s small but feels like it’s probably the beginning of what is likely to be a long quality decline ...
That still doesn’t make sense. You could use the cash back on a Spotify subscription just the same.

The Apple Card’s credit card rewards aren’t even that good compared to what other large banks offer (e.g. the Citi Double Cash card).
Right, it's a lot better. Isn't that enough to build a good business on?
> many others have to stay poor if we go down the route of a dematerialised economy is true

This not what I meant.
I mis-read OPs

>> welcome the economic decline that would come with growth reduction

as no growth. If the (slow) growth (magically) only goes to the poor they may indeed eventually catch up.
Not sure if this works.

But Apple Maps exists as an OSX app so you could possibly use Apple Script to open the app, navigate to a point and take a photo.
I've been thinking a lot about trying to make an AI for a turn based 4X game. I believe an AI that could defeat the strongest human players in (for example) Civilization would be more impressive than AlphaStar and the Dota AIs.

I think it might give the gaming industry a kick in the pants to start utilizing more advance AI techniques in general, since it seems almost all discussions of strong AI in games are dominated by apologists explaining why it's not practical. Just one example of strong AI in a successful game would change the industry.

After strong AIs are common, we can persue the even more interesting task of dumbing them down in fun ways.
Just how big a deal is Google’s new Meena chatbot model?
That's not what I wrote though.
>“C is fine just know what you’re doing”.

$40 billion says whoever wrote this knew what they were doing.
There is a small chance that someone viewing the comments won't be aware that a presidential candidate named Yang is running on UBI.

Please consider not burying my comment.
I might be wrong on the origins, but I am certainly right that everyone else is now adopting similar algorithms.

So while it is great that Rust is making these concepts mainstream, in about 5 years time, the other languages will have their New Jersey style implementations mature and available for their communities.
The headline of this section in his journal is a - for our purposes - somewhat meaningless "Thursday January 23", so forgive me editorializing the title to something more descriptive. I tried to keep it as objective as possible.
Another issues with AMD are power, cooling and deadlines. Our local term for Vega 56/64 is electro-chargrill, which is not far from true. Those who bought them report that PSU and tower-cooling costs are above normal. AMD can do that again, blow dust in their eyes and roll out a card that could melt your ssd and sound like a jet turbine. Also they are known for “soon” marketing, so that you wait for a year, postponing games that you could play right now with a decent nvidia card.

I think they have their own vision of high-end, while frametime enthusiasts still struggle with making ryzen chips to not stutter three times a second. Measures include carefully choosing a motherboard, a memory kit, finding right timings, right cooling curves, etc. And still stock ring-bused 8700 beats easily any infinity-glued cpu in 0.1% low by a margin. Streamers love ryzen though, as it allows to stream from additional cores and microstutters are irrelevant on youtube.
My favorite is still "laxadaisical" for those situations when neither "lax" nor "lackadaisical" are enough.
Not really, all of my time is going into my company so I'm not really thinking about big picture stuff with MoonScript.

Some things I would like to eventually finish though:

* JavaScript output backend https://github.com/leafo/moonscript-javascript-compiler

* Replacing the AST transfomer with something written in tableshape: https://github.com/leafo/tableshape

* Experimenting with writing an lpeg alternative that works more like a parser generator, experimented here https://github.com/leafo/moonparse

* Formalizing the syntax transformation pipeline (this would be how things like macros could be implemented)

If you have ideas feel free to open issues on the github. I may not be able to reply immediately but at least they are written down somewhere. Thanks
Infections are increasing approximately 20% per day.

When you see the new daily infection rate drop to 10% or less then that's a pretty good signal that we're reaching the top of the S-curve and nearing containment.

The big question is if that will happen before healthcare and quarantine capacity is exceeded.
> I don't think in any given group of young devs there's going to be someone '10x better' than the rest

John Carmack was in his early 20s when Wolf3D and Doom happened. Mid 20s for Quake. I have reason to believe he was vastly more productive than most developers his age. I don't think it's unreasonable to think there are other young developers who are similarly much more productive than the average.

10x or not, I do believe in significant differences in productivity.
> I disagree with the posters above who say there's a 90% markup on the coffee.

That's how accounting works. The 90% markup is on the coffee, and if you sell enough coffee you can cover the overhead of the cafe. I.e. there's margin and there's net income.
Not if you have a sudo timeout enabled. Or, the proof of concept could be changed to

alias sudo='sudo ./badscript'

where badscript runs `exec $@`.
I agree - but also technical isn't important at that phase, business value is. And often technical architecture needs change as product fit, market fit change.
Show HN: Web app to create instant, beautiful roadmaps for product presentations
Redox is a pretty impressive project. One could almost use it as a desktop OS already, except that it has no working USB input support yet.
This. Very valuable advise. I've been in this situation often as well. Although I personally don't make a big deal about using my own laptop, network administrators within the company often did.

It's a pain not having the necessary tools there. And most of all, it makes it look as if the company doesn't know what to prepare for the new employee.
You're arguing with an incomplete explanation of how many economists believe stimulus spending works. I'm no economist, but a Keynesian would, I think, say that government stimulus is fine when the economy and demand are lagging. Doing it when the economy is strong encourages capital misallocation and the problems OP mentioned.
EXACTLY what I was looking for, thank you!
It's not been maintained for a while, but TinyPTC (https://sourceforge.net/projects/tinyptc/) might be worth a look - it's specifically intended for small demos, does not depend on OpenGL (aside from being an option on Linux), and will let you "push pixels" to a window.

I would urge you to reconsider SDL though - it's going to be a lot easier to port to other platforms, and it's going to be maintained for a long time.

e: You don't have to use SDL's audio/rendering subsystems either - it is possible to just treat it as a pure window/event management library.
My maths teacher for much of secondary school, who was the "pure maths" teacher when we were old enough for that to be taught separately, started one year with an elaborate 4-colour drawing of a steam locomotive on the whiteboard. There was no explanation or further reference to it in that lesson.

As we learnt trigonometry, he'd sometimes draw just part of the scene, and explain how it related to what we were learning.

I remember the coupling rods: as the locomotive moves, each end traces a sine curve: https://en.wikipedia.org/wiki/Coupling_rod

And also the electric catenary, which has a hyperbolic cosine curve: https://en.wikipedia.org/wiki/Overhead_line

I think there were also the pistons on the steam locomotive, and the curvature of the track.

(Occasionally, it was like the intro to https://vimeo.com/77451201 )
Well, not if you use Docker on Windows or Mac. But these are technicalities that don't matter that much.

Unless you are writing kernel drivers or you need to tweak certain kernel parameters, running in a Docker container is very much as running in a VM. With the same responsibilities, e.g., setting up an init process.
I have no doubt Zhengli-Li Shi likely knows more about this than anyone else in the world

https://www.nature.com/articles/nature12711

https://www.nature.com/articles/nm.3985

But given the fact that he and the Wuhan Institute of Virology are at the direct center of the outbreak, I wouldn't trust them not to be covering their own asses if they happened to be at fault.
> Unfortunately, the time between seeing a decision acted out and the actual act of making that decision can mean that all relevant information has already been discarded. Ideally if the entire game simu-lation could be rewound to the exact moment in time when the error occurred, it would make notoriously difficult problems to debug, trivial to understand why they occurred.

> Game engines have typically made reproducing these types of problems easier using deterministic playback methods (Dickinson 2001), where the entire state of the game simu-lation can jump back in time and resimulate the same problem over and over (Llopis 2008).

Imagine if you could do this for all programming? [from chapter 6]
Same with any country, I think.
On the other hand, WeWork really isn't substantially different in quality from the many other businesses selling desks to startups.

Regus being bland is probably something they consider a commercial edge tbf.