jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
Maybe even more surprising to me is that sscanf() relies on strlen().

I would have expected libc to take that use case in consideration and use a different algorithm when the string exceeds a certain size. Even if the GTA parser is not optimal, I would blame libc here. The worst part is that some machines may have an optimized libc and others don't, making the problem apparent only in some configuration.

I believe standard libraries should always have a reasonable worst case by default. It doesn't have to be perfectly optimized, but I think it is important to have the best reasonable complexity class, to avoid these kinds of problems. The best implementations usually have several algorithms for different cases. For example, a sort function may do insertion (n^2, good for small n) -> quicksort (avg. nlog(n), worst n^2, good overall) -> heapsort (guaranteed nlog(n), slower than quicksort except in edge cases). This way, you will never hit n^2 but not at the cost of slow algorithm for the most common cases.

The pseudo hash table is all GTA devs fault though.
Thanks for your feedback.

> Is the starting HTML really that bad?

I think the mailing list service providers just don't care. If they did, they would easily see that extremely long blocks of random text (ie. a link) in plain text kills the readability.
Useful as well to overreaching governments and law enforcement. Certainly not the type of thing you could legally inform your customers of, either.
I don't think the site owner exactly cares about having customers, is why.
What's the humane response to an individual that continually commits serious/violent crimes?
Working Effectively With Legacy Code [1] is one that is related to this subject that comes up often.

[1] https://www.goodreads.com/book/show/44919.Working_Effectivel...
I would guess it was the other way around...
Braid itself is just a neutral protocol— the proof you want applies to the particular CRDT or OT algorithm that you use with it.

For instance, you can use it with ShareDB, or Automerge. Both of these synchronizers are quite robust, and prove correctness with fuzz testing.

Links: https://github.com/automerge/automerge https://github.com/share/sharedb
I've been disgusted by Facebook for at least a decade, so McNamee's very late disillusionment seems a bit silly. He sent Zuck a stern email ten days before the election! I also enjoyed this gem:

In protest of the Iraq War and other policies during the George W. Bush Administration, he refused to cut his hair. When President Obama was inaugurated, he celebrated with a trip to the barber.

Kudos for being right about Iraq before it was cool, but we're still in Iraq, aren't we? Just to be safe, let's don't get a hair appointment immediately on Michelle's inauguration...
Lol. Thanks for the laugh. I am confused abOut Apple lately.
If it is true it would buy ad servers greater obfuscation since blockers were relying on CNAME metadata to differentiate between safe and unsafe targets. If more reverse lookup and secondary metadata and vhost dereferencing is required it will complicate performant ad stripping at a minimum.

[0] https://discourse.pi-hole.net/t/apply-pi-hole-blocking-to-cn...

[1] https://github.com/uBlockOrigin/uBlock-issues/issues/780#iss...
The GP mixed up hardware compiler and board layout tools.

KiCad (funded by CERN) and LibreCAD are pretty good PCB layout and routing tools. Since Autodesk bought Eagle, they're the Open Source "great hopes."

For PCB tools, you should just join an existing project since there's several Open Source ones and we need better ones, not more. This is a suitable long-term hobby if you occasionally make boards yourself. Especially welcome if you work on the parts library UI and items.

Chisel, etc. are hardware compiler tools, not board layout tools.

You should get a job at a chip or HFT company and have them pay you to learn and apply this stuff.

The commercial software is shitty since the vendors spend more on keeping their license dongles up-to-date than adding features.

Source: worked at a company that designed a 400 million transistor chip. Most of my X-co-workers worked on the A11 and A12.
Prime numbers are important in music. They're actually random. Repetition of this randomness makes music beautiful.
Though funny enough, English has settled on the formal 'you' even when addressing peers.
> Screen recording or sharing apps just don't work. Zoom with XWayland appeared to work, but in reality only shared a blank screen. This was kind of a deal breaker, because sooner or later I will need to use screen sharing in Zoom for work.

Isn't this one of they key points FOR Wayland, though? I thought Wayland specifically stops applications from having access to other chunks of the screen without special permissions?
>“We strongly believe artificial light at night – in combination with habitat loss, chemical pollution, invasive species, and climate change – is driving insect declines,” the scientists concluded after assessing more than 150 studies. “We posit here that artificial light at night is another important – but often overlooked – bringer of the insect apocalypse.”
Good lord. I couldn't come up with a better way of permanently destroying trust in a company if I tried.
And it turned out that pipx wasn't what I thought it was, so thank you as well! Though virtualfish is only useful if you use the fish shell.
Ads also have a huge cost on society so you can stop that too.
Not quite. With requests over HTTP, there's an overhead for every single request. For websockets, you make one fat handshake/upgrade request to start with, and then all successive "requests" (frames) have no headers. So depending on what you're doing, and how you do it, it can be more efficient.
I love what you've produced here. I noticed that pthreads seems to be fail-stubbed for the time being, i guess it's a todo with tricky semantics?

As for holding off on UI for the time being is probably the right thing to do, keeping with the minimal style planning on going for raw-x11,etc.

However, as much as I personally love plain framebuffers (late 90s democoder myself), it'd be totally non-accessible for "plain" applications and totally lacking performance compared to anything accelerated when it comes to rendering. Graphics cards are just so many times faster that it's not really even the same kind of usage (only sad part is Apple punting on OpenGL driver updates even if Intel on the low end has become so much better).

That said, having looked for a minimal UI framework and sadly they seem to be far inbetween these days (libUI is fairly compact on win/osX but required GTK on *nix but they've lost a bit of steam since 2018)

Best of luck on it all (hopefully I can snatch out some time to contribute)
> it would have been a fucking travesty doing a lockdown without ordering on Uber eats and Co.

Sure, these services bring joy to people and create low paid jobs.

But, I think the more essential service is the general grocery delivery and supply chain.

It seems so inefficient to have someone make a toasted sandwich, and then drive it half way across a city burning fossil fuels because customers do not want to cook their own meals.
That's kind of the whole point of the article.
Win2k and WinXP source code are leaked if I am not mistaken
MBA-run sweatshops.
I will be writing a lot of Elixir in production. 2014 wss learning Elixir and convincing people to let me use it in
production :)

As a hobbyist, if I have time, I plan to spend a lot of time with Rust.

In 2014 I spent at least a month each with Elixir, Rust, Clojure and Scala (I gave Go a long hard look in 2013 already). Elixir and Rust are the two that have stood out to me for the types of problems I want to solve and the types of growth I want to experience as a programmer.
And now we've learned how an adversary might go about hiding an implant in a personal computer. With more sophisticated fab techniques this would be undetectable.
Very roughly...

Generally what fuel your body burns depends on the intensity of work you are doing, so if you're walking you may be burning 80%+ fat, but if you're running a 10k you may be 80% glycogen.

However, if you eat too many carbs at a meal (beyond what you need in the next few hours), your body needs to get that excess out of your bloodstream, so it will do a combination of:
- fill your muscle/liver glycogen stores (limited size)
- burn any excess carbs in preferences to stored fat
- convert any excess carbs to stored fat

Once it's got rid of the excess carbs from your bloodstream, it will return to burning whatever the normal ratio of fat:carbs is for you.

Consequently, if you always eat too much carbs, you'll gradually pile on the fat, unless you're doing large amounts of training which depletes your muscle/liver glycogen, e.g: elite athletes.
My preferred solution for a safe navigation operator in ruby is the andand gem

http://andand.rubyforge.org/

To translate one of the example from the OP:

<%= @product.manufacturer.andand.name %>

<% if current_user.andand.is_admin? %>
<%= link_to 'Edit', edit_product_path(@product) %>
<% end %>

This syntax is simpler and more readable, even if there is more voodoo involved. Since when did we as rails devs care about that?
well, that's what being Russia's ally gets you.
This is true of any political system. You are not allowed to criticize what the system claims to be. For state capitalist nations like China or the former USSR which claim to be communist you are unable to criticize communism. In an oligarchy like America which claims to be a democracy you are unable to criticize democracy. They differ in the means by which they marginalize dissidents but in either case you are rendered unable to threaten the presiding political order.
RH kept you from buying GME; Schwab did not. This is a huge difference.
> I think it's pretty much consensus that neurodermatitis can be triggered by stress.

No offense intended, but you're a little out of your depth here. Keep in mind I had this for decades and thought of everything you could think of, and more. And yes, stress makes it worse, but quitting work and pretty much eliminating any stress from my life, didn't fix it.

> But someone I know was sold one of these lamps as a cure for her cancer, for about 100x the normal price of such lamps.

That's a bummer of a story. As I said, I wouldn't say this is the norm for alternative therapies.

> That's the problem with alternative medicine.

It is certainly a problem that exists within 'alternative medicine'. There are fewer check and balances, and government oversight, as per the traditional medical establishment, and there's nonsense like homeopathy, but unscrupulous things happen in conventional medicine too. Like say, trying to fix psychological issues with chemical interventions that aren't all that efficacious, or addictive pain meds that lead to overdoses.

Conventional medicine of course has plenty of merit, and is often backed up by rigorous clinical studies, but I'd also argue there's plenty of helpful encounters with 'alternative medicine'. I think also helps to have some epistemic humility, and that in order to be truly 'scientific', alternative therapies should be taken seriously, and studied properly, before they are dismissed... and yes, fraud is a problem that should be taken seriously too.
Here in Australia, a friend tells me of an expat German friend of his. When she visits people, she likes to shake the internal walls of the houses with her hands and (good naturedly) says "you guys can't build houses for shit". Which is true - Australian houses are generally flimsy, cheap stuff. :)
How about this title: China suck the Internet since March 27th !!!
Exactly. I meant "rollover" I think. That kind of cable is used for console cables for some systems, but not for high speed data networking.

(Not straight vs crossover)
I've been interested since reading this 1999 article in the New York Times: http://www.nytimes.com/1999/01/02/books/think-tank-the-stoic...

That article led me to Epictetus' The Enchiridion, which was an easy way to start learning more. There's a free version at Gutenberg.org: http://www.gutenberg.org/files/45109/45109-h/45109-h.htm
Completely spit balling here but wasn't the abstraction of your cursor originally a finger? If so the 45 degree tilt with the 'finger' pointing to the left makes sense if you just reach out with your right hand and point at something on the screen.

At least for me when I'm pointing at a regular computer monitor my hand is tilted not strait up and down.
You are piping the output of an untrusted command into a shell that will execute it. This leaves no way to verify that the code your are running is legit. No md5 verification, no cursory inspection of the script , etc.... There could even be hijacked dns that points to a server that specifically does a bad thing. Maybe not a huge deal for small projects but it's not a great idea in general.

Try this to see a proof of concept:

$echo "echo test" | bash
It's an interesting question. Googling briefly I didn't come across obvious studies. I guess it depends on how you do the accounting. A week ago the Swiss National Bank had foreign currency assets of about 520bn euros or 624bn Swiss Franks. It now has asset of about 520bn euros or 520bn Swiss Franks. Is that a loss of zero which it looks like if you do the accounts in euros or 104bn Swiss Francs if you do it in Swiss Francs?
Once I had a friend that asked me if I can modify a page of a WooCommerce web app. I wasn't able to find the text of this page anywhere and if I was trying to edit that in WordPress, the page in edit mode didn't look even 5% close to the final result. After one hour going around to edit one word on one page, I gave up.
Made a push adding getters for relevant fields and making field names uppercase in the Options struct. Don't know how long it takes for pkg.dev to update, but the issue should be resolved now.
Another good option if you need to start moving your repos to other machines or want to back them up is using rsync.net. They added git support many years ago and it's just like setting up a bare repo on a remote SSH host but all managed by rsync.net: https://blog.kozubik.com/john_kozubik/2010/02/git-and-subver... Once your repos are there then accessing them from anywhere is just a git-ssh clone away, just like a private github repo.
I'm fine with ads. But I see much more promise for ads before getting in car, then after. While waiting for Uber/Lyft I check my phone non-stop. The second I'm in the car the last app I'm opening is Uber/Lyft.
You can probably buy a Rolls Royce (they're cheap second hand), but you can't afford to own one if all you need is transportation. That's the problem here. So what you have versus what can afford are not necessarily the same thing.

Fuel economy, maintenance costs, taxes, insurance that's where the problem lies and those are all cheaper for a simple Toyota than for a Mercedes.
Here is the the criminal complaint:

http://www.justice.gov/sites/default/files/opa/press-release...
milliondollarapartment.com

I'm selling some ad space on my terrace at $1 per pixel, in 10x10 increments. DPI negotiable.
That looks like a really interesting company, thanks!
People do make judgments of trust on appearance - in the real world and online.

- Aaron Patzer (@apatzer)

http://startupquote.com/post/1721414611
8bit sounds are nonetheless still very popular for a certain genre of games.
RH is not 100% open source and I do not think they are angels or anything. They are a big company with their own interests and it so happens that being open source has worked out for them really well.

Having said that, because of chance or who knows why RH did a great deal of good deeds and they are literaly one of the locomotives pushing the open source train, if I may be permitted this metaphor.

Getting back on topic, if Nginx did as RH does and released the source of what they do so a "Centos-Nginx" or "Fedora-Nginx" can take form then I'd be happy with that.
What? Really? This argument is something I would expect someone like Josef Mengele to say, not a modern human being in the 21st century.

You can't just leave ethics out of science. Doing so would pave the way for so many atrocities against both humans and animals "in the name of science" (and history is evidence of this).
This generate strong types from example JSON messages, and there are handy methods in C# that let you take a JSON string and parse it as a given class. This way, other devs know what fields to expect in the JSON message and saves them time on digging through the raw JSON.
Some of the greatest innovations come from Soviet Russia
Absolutely. There would have to be almost no overhead in using it though.
This is one of the biggest challenges with teaching programming, everything changes incredibly quickly. If you want to write a book that people will recommend for decades, or even for years, you need to gloss over any specific technology and only talk about the concepts that will not change for quite a while.

With that said, InfoQ.com has a lot of videos that sound like what you're looking for.
You are confused about the difference between equity shares and voting power.
The same way you learn to write a novel in a foreign language.
You may want to put a comparison to Cloud66 on your website, since it's a similar tool ("Heroku" hosted on your own cloud account) that's been around for years.
I think there was a giant gap between expectations and reality. He wanted to program so he could make video games, but learning to program starts out text-based. The gulf between learning to code and learning to make video games like the ones he enjoyed is overwhelming.

I think the calculator eliminated that dissonance between expectation and possibility.
You can argue that he's the best person we could choose right now to have the title of richest person in the world.

But there are far too many needlessly impoverished people in this country to convince me that there's something "efficient" about this.
I agree, I'm confused. He's urging against violence, but standing by his claims of fraud. But people are claiming that's not what he's "really" saying. OK.. so I can basically say the same thing about anyone saying anything. Who decides what he "really" means?

Just so I won't be downvoted, I'm not a fan of Trump.
I really wish they would stop this reporting of who is the richest. It is lazy reporting and just recalculates by the minute based on stock values.

I'd rather see who has the highest liquidity. Who is holding on to cash they could, right this minute, spend, or stocks they could freely sell without tanking their own companies? Not Musk, not Zuck, not Jeff... at least, not likely.
Regardless of if they're good or bad people: Gates made sense, Buffett made sense, Bezos made sense.. Musk, I simply don't get how his achievements (as significant as they are) add up to this outcome.
I was asking exactly the question I posted. I think it is far more specific than the question you posed.
This is what scares me. We're already seeing this start with Parler being conservative Twitter. Youtube clones are already popping up. The only saving grace is that such platforms will have difficulties finding advertisers and thus surviving, but if their movement gains traction then corporations will follow the flow of power/money and jump on board.

The issue is not platforms. The issue is the lack of trust in the political system. Deplatforming is just a band-aid.
Fox is broadcast over the air in many areas
DEX's are certainly nice, but at least for the time being if you have any significant volume of trading the the actual swap fees on the DEX will eat more of your gains than a centralized exchange will. Before factoring in Ethereum gas prices. Somewhere like Uniswap (most popular DEX on Ethereum) takes 0.3% of every trade plus price impact issues. At $50k volume, maker fees on Coinbase Pro are 0.15%, and your limit order may not fill but it won't have a huge slippage either.

I think ETH2.0 or some other network certainly might make DEX's even more popular, but if those swap fees don't come down the centralized exchanges still have a financial benefit to some users. I imagine if they do come down and volume goes up, it lowers the low volume fees on places like Coinbase, which would be nice.
How cheap is cheap?

The Arty A7 is a good board: https://store.digilentinc.com/arty-a7-artix-7-fpga-developme... though costs $129

I do like the Terasic boards, the DE10 Nano is very capable: https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=... DE0 doesn't look too bad and also cheaper: https://www.terasic.com.tw/cgi-bin/page/archive.pl?Language=...

The downside with the Terasic boards is the Intel tooling, it's pretty terrible and has bad SystemVerilog support. Vivado (the Xilinx software that you'd use with the Arty A7) is superior in my experience.

On the cheaper end of the scale the Lattice ICE40 and EPC5 FPGAs are popular searching for ICE40 board gives you a number of options (here's one that looks reasonable: https://www.olimex.com/Products/FPGA/iCE40/iCE40HX1K-EVB/ope... and cheap at 16 euro). There's also good open source toolflow support with https://symbiflow.github.io/

For a beginner I'd recommend going for the more expensive boards from a well known manufacturer (such as Digilent). You should have an easier out of the box experience with getting some basic stuff running. Yes there are some very cheap boards out there especially from places like AliExpress but you want to concentrate on learning an HDL and doing some designs not hours trying to get a poorly supported driver or toolflow to work or struggling with programming the thing because it uses some custom method that isn't well documented and doesn't just work with the FPGA vendor tooling.
> If we can't beat COVID, we will not beat climate change. No technology can change human nature.

Erm, looks like we are doing pretty well to beat COVID with vaccines developed in record timing.
> unlike so many American corporations.

Such as the United States Federal Government under the current administration?
std::shared_ptr<void> foo(nullptr, [&bar] (void*) { printf(":) %s\n", bar); });

the downside is having to write nullptr instead of just the closure. Something like this really should be part of the standard.
Not exactly central banks in this case, but we've at least made it as far as fractional reserve banking.

Matt Levine covered this well in a recent column[1]. It reminds me a bit of the argument for why anarchy probably can't work that Robert Nozick laid out in Anarchy, State and Utopia. In a nutshell, the social forces are such that the simple, minimalist way of doing things represents an unstable equilibrium point, and the stable equilibrium point is much closer to the status quo.

That said, I wouldn't call armchair philosophy or armchair financial jurisprudence particularly ironclad. It's hard to blame people for wanting to actually try a thing. And it hasn't been entirely unsuccessful. While it's true that a lot of modern financial system trappings have built up around Bitcoin, the currency itself remains nominally independent.

[1]: https://www.bloomberg.com/opinion/articles/2021-02-24/the-va...
>All it takes

Oh just that huh?

The market wouldn't value that new fork on par with finite BTC, so those miners would be hurting themselves, and burning energy for a worth-less coin.

This action is trivial to consider, so what makes you think it has bearing on BTC value? When these miners leave old network, hash power & difficulty go down so other miners who prefer finite protocol can come in to mine. What's the actual threat then?
If you can map non-linear eq's to linear, i.e. Schrodinger eq, doesn't that dramatically reduce computation required? Non-linearity is necessary for chaos. This seems like a big deal to an layman like me. I don't know how it's done, but isn't the fact that nonrelativistic QM and classical mechanics are nearly identical at certain scales enough to say a mapping can be done.