skysight-inc/HackerNews huggingface dataset:
Why copy the string at all? You have string in file. Mmap file and just store string view of it.
All the Swedish IKEA catalogues from 1950 onwards
"For over 70 years, the IKEA catalogue has been produced in Älmhult, growing in number, scope and distribution. From the 1950s when Ingvar Kamprad wrote most of the texts himself, via the poppy, somewhat radical 1970s, all the way to the scaled-down 1990s and the present day – the IKEA catalogue has always captured the spirit of the time."

From:

- https://ikeamuseum.com/en/our-catalogues/
> slavery is bad.

If it's so universally bad, why is it legal in all of those countries? And it wasn't always considered bad. Should Amazon in the 1820s have been abolitionists or slavers? Maybe one day we'll all conclude that calling different gender and sexuality mental illness is bad and Amazon will have been on the right side after all.
I doubt the LEDs add more than a few cents to the BOM for these parts.

I imagine the line of thought goes something like this:

most people don't buy desktops. if they buy a desktop at all (instead of a laptop), they are probably an enthusiast. if they're building a desktop from parts, they are definitely an enthusiast. if they have a window in their case, they want blingy hardware. if they don't care about bling, they won't have a case window to begin with. QED, put LEDs on every single retail part. outside of the HN crowd, I don't think they're actually wrong.

personally I don't hate the idea of RGB LED parts, but I do hate the fact that I have three different poorly written apps that control the colors of different hardware/peripherals for the same computer. and they never all manage to remember their state after a reboot.
The best way is to find a functional programmer mentor. First write an app the "normal" way. Then ask them to review your code and see how they would write it in a more functional way. That's the best way that helped me grok functional programming the fastest.

If you can't find a mentor, try creating an app with a lot of constraints: don't change state, make most functions referentially transparent, etc.
They are also about as useful and "aesthetically pleasing" as the go-faster stripes on a 70's Ford Escort ;) At least on peripherals the bloody lights can usually be turned off in a bloated settings tool which always has an outrageous UI that screams "extreme gamer" too.
Leveraging Your Role as TPM to Improve Application Security
at least get right which company you are talking about ...
What's the alternative to having law enforcement agencies at any level (whether that is on a regional or national level doesn't really matter?) with democratic oversight?

If the democratic oversight fails and transparency suffers, then the outcome will be less than ideal. But the answer is hardly "remove law enforcement authorities from level x", surely it must be improved transparency and oversight?

Also, no agency can be trusted with a back door. Back doors are available for all actors or no actor. An NSA back door to encryption is also a back door used by an authoritarian regime. There are no "exclusive" back doors.
Technically I didn't say "need", but that they were hindered.

https://en.wikipedia.org/wiki/Guns,_Germs,_and_Steel is one controversial book on the topic.

I was thinking more in terms of raw power than agriculture: before we could develop coal-fired industry it was useful to have draught animals to carry heavy loads and drive equipment.

Not an expert, but it's clearly a lack, and the correlation between variety of domesticated animals and industrialization is interesting.
> why something like Oberon is better from a design standpoint

It's not "better". Wirth simply left out everything that did not seem absolutely necessary to him at the time. His colleague and he wanted to save work by doing this, i.e. to make their Oberon project at that time feasible for two developers on a part-time basis. With Oberon-07 he went even a step further in that direction.
You should read the comments.

1. It was a throwaway.
2. The reply was... “It does not matter who holds it. Unchecked power always corrupts.”

The problem with the ANC is the same issue as The Nationalist. Without strong opposition and even a stronger free press, unchecked power always leads to corruption.
that is Gold' s monetary policy,mined infinitely.But seems scarce than Gold.
Still claiming it was a “violent insurrection”, even when experts have been clear this wasn’t one (https://foreignpolicy.com/2021/01/06/why-this-wasnt-a-coup-c...)? A handful of people stormed the Capitol, and nearly none of them were there to stage an “insurrection”. Most were just there as protesters who got carried away. There were also tens of thousands more in DC participating in rallies and protests without ever having stormed the Capitol as well.

Also, this was far from the only time protesters invaded the Capitol. It was the only time so much attention was given to it by news media and social media alike, however. I’m sure you spoke up when hundreds stormed the Capitol during Kavanaugh’s confirmation hearings, where hundreds were arrested, correct (https://thehill.com/homenews/senate/405500-212-protesters-to...)?

As for Parler - with millions of users, almost 100% of content being completely fine, and with more of the riot being planned on Facebook, banning Parler was simply an ideological power move by left biased tech companies who have no respect for free speech principles.
And if you choose to normalize by GDP, China emits twice as much as the USA[1][2]. China has lots of very poor people, bringing down the per-capita average, but the USA has a more carbon efficient economy.

[1] https://tradingeconomics.com/china/co2-emissions-kg-per-ppp-....
[2] https://tradingeconomics.com/united-states/co2-emissions-kg-....
What? The apocalypse? No that won’t come because of Bitcoin miners. Why would it?
more people survive stabbings than shootings, and if someone was to say start stabbing on a school campus a lot less people would be stabbed than shot in a school shooting.
Executing a Future in a Separate Thread with Coroutines
This is a 100% failure by Mozilla foundation management.

They are non technical people who only care about own salaries and sjw issues, while ignoring their core product.

Meanwhile the developer team does whatever they want: they mostly do greenfield projects that are used to boost their CVs. Those projects get 0 users and usually are cancelled at 70% completion so nothing hard needs to be done anyway (no bugfixing which is unsexy work).

Here a developer probably does not want to code the compact option (or possibly: does not know how to do it) so they just want to remove it. Because the new firefox motto is "fuck our remaining users". Mozilla management does not care.

Then they will wonder why firefox has a 3% market share.
We both know that's the wrong way of thinking about it, though, because people's saving don't just sit in a vault; they are invested in opportunities that tend to be productive. This whole question ultimately comes down to people's ideological alignment concerning the moral underpinnings and practical realities of central planning and collectivisation vs. private property and free markets.
Give it some time. H&M got a €35mio fine in November 2020 for a document from 2014 stored in a network drive that contained employees personal data. If you do not comply, the more you wait the more risky that becomes.
Can you state the specific comparison that is not apples-to-apples in the OP?

The only one I see is the comparison between 'simple' and 'optimized'. But that's more about "what does a simple idiomatic solution look like" and what does an "optimized and possibly less simple" solution look like. That comparison isn't designed to be apples-to-apples in the way you're saying. The simple variant will use Unicode-aware casing in environments where that's the simple and natural thing to do.

IIRC, most of the 'optimized' programs are using ASCII casing. Python doesn't, but casing isn't even close to the bottleneck in that program.
>I think this will come down to the makeup of the user base. If say only 10% of your customers are using it for illicit purposes, you can claim you didn't know, of couldn't have know because the messages are E2E encrypted, however if that number is 50+%, then I think the case could be made that yes even though you couldn't read the exact messages, you can still be held liable.

But what are you supposed to do in this situation? You get an inkling that the service you're providing is used by drug traffickers. If you start taking actions against that then it means you know, therefore more likely to be guilty in the eyes of the law. If you tell law enforcement then you're also taking a risk, because it's still happening in your backyard. On top of that, anything you do has a good chance of destroying the business as well.
There's the rub: he can't say them. But you and I both know what they are.
Many commenters here seem to believe that these charges are solely based on the fact that the guy sold cryptophones. That's very unlikely.

The feds almost certainly have records of the CEO discussing drug trafficking.
It is a good question, but the downvotes may be from "Rust Fatige" aka "Why not just rewrite everything in Rust".
Is there a particular tweet you’re trying to highlight? As a casual bystander, this comment isn’t helpful...
I just refreshed both the Primary and Classic front pages and did a quick comparison.

Classic had 14 articles that were not on Primary. The first unique article for Classic showed up at #15. All of the unique articles for Classic were at least 11 hours old, with 5 of them being at least 1 day old.

Primary also had 14 articles that were not on Classic (obviously). The first unique article for Primary showed up at #4. All of the unique articles for Primary were at most 12 hours old, with 4 of them being at most 1 hour old.

This page may have originally been created to investigate a difference in "quality" between older and newer HN users, but it actually does a great job of highlighting the opposite to me. The Classic page is mostly the same as Primary, just slower. Older HN users seem to generally like the same things as everyone else here. I'm sure most of the pre-2009 users who don't like modern HN have moved on.
> the press seems to be at war with everyone

This is the focus of Matt Taibbi's "Hate Inc."
The general term for what you describe is "whataboutism". It is a rhetorical technique that allows one to defend the indefensible. First popularized by Russia, the technique has become a favorite among ~40% of Americans.

It's a favorite technique to defend the abuse of power. "Yes, I abused my power, but so does everyone with power," is a cynical, unfalsifiable and worryingly effective argument.
> Despite the "U" in UBI, I would assume these $1k/month payments would phase out at a certain income level. Someone making $20k/month, perhaps even $10k/month, does not need their basic needs propped up.

Rather than phased out the idea is usually that everyone gets exactly the same UBI (thus removing overhead and friction associated with existing welfare schemes) but it is cancelled out for the wealthy by an additional/increased regressive income tax.
what is the significance of that date?
> a lot of Wirth influence in Go, like “goroutines”

Go inherited a lot from Oberon, but definitely not goroutines; rather e.g. the separate declarations of methods from the type declaration and the type binding syntax (which was actually an idea by H. Mössenböck, implemented in Oberon-2 in 1991, see e.g. ftp://ftp.inf.ethz.ch/pub/publications/tech-reports/1xx/160.pdf).
It's a comparison of systems provided by their makers. My understanding is that in most cases, systems provided for review or comparison are returned to the maker once the review is complete.
> * Q1: I assume that, if instead of the jack, you use a usb-c audio adapter accessory mode, there should be no extra latency either, right? (I'm using late pixel phones)

That's correct, by using either the 3.5mm jack, or USB-C adapter you won't incur any additional latency introduced by DSP to improve the speaker acoustics.

However, the USB path typically does have a few ms higher latency than the 3.5mm jack path.

> * Q2: which device are you using for the USB-MIDI input?

We've used a variety of devices and found the latency differences to be negligible. At the moment I test with an old AKAI LPK25.
We are using bitbucket atm and I can't fathom a reason to move, care to elaborate?
Google, HTTPS, and Device Compatibility
This troubles me enough to start considering webviews again for my next project.
Well, you shout really loud yr a democracy.

Basically saying you have no control is saying that the US is no democracy.
I suspect the truth is, in the narrow domain of electric power distribution, Texas too has an inept government that’s beholden to certain vested interests in the garb of “free markets”.

This is a state that has fetishized “light touch regulation” so much that it, for most of the state, has its own grid to avoid dealing with Federal authorities. And repeatedly failed to take action to get power companies to winterize their equipment even though cold snaps in Texas are not unheard of — they’ve had disruption in 1989 and 2011, in addition to other near misses.

Let’s not even get into the wisdom of a market that allows Griddy to offer wholesale prices without caps to retail customers.
Chrome and even Firefox have already begun political policing of their browsers (https://reclaimthenet.org/google-chrome-web-store-bans-disse...). The next step seems like it’ll be forced curation of the web or blocking of IP addresses, since they’re already knocking on that door.
The International Virtual Aviation Organization WebEye
Video – Building tamper-proof systems with immudb and Go
EU-LFS, which I referenced, is published by Eurostat, is a core part of the official Eurostat data, and is survey-based, not derived from estimates of contracts.

Here is Eurostat's EU-LFS data browser for "hours worked per week of full time employment":

https://ec.europa.eu/eurostat/databrowser/view/tps00071/defa...

You can find the actual questionnaires used for carrying out these surveys here:

https://ec.europa.eu/eurostat/statistics-explained/index.php...

You'll note they include asking for the same information (estimates of hours worked) several different ways (with and without overtime, and asking separately for the overtime) and that they include instructions to the interviewer for confirming that the result is internally consistent.

EU-LFS is the main source of data on those aspects for the EU. Measuring overall productivity then comes from matching economic indicators up against hours worked.
Society has dictated the majority of people’s lives for most of human history. Being able to control one’s schedule is the exception. In fact, even having eight hours of leisure wasn’t always a given in the US [0][1].

[0]: http://historymatters.gmu.edu/d/6645/

[1]: https://www.paunions.com/may-day-eight-hours-for-work-eight-...
I'd guess transportation plays a bigger role, but not sure.

US emissions are ~29% transportation and ~27% electricty generation [1]. The US uses ~13x as much oil [2].

Natural Gas isn't particularly dirty. Coal and petroleum only make up 24% of power generation in the US [3]. Fossil fuels make up ~9% of electricity production in France [4].

[1] https://images.app.goo.gl/9YFsuN9vjkiiZnek9

[2] https://en.wikipedia.org/wiki/List_of_countries_by_oil_consu...

[3] https://www.eia.gov/energyexplained/electricity/electricity-....

[4] https://en.wikipedia.org/wiki/Electricity_sector_in_France#:...).
Or fix the demoncracy back into a democracy.
I probably shilled a little too hard, it's understandable.
Nice, can you list your extensions please?
There's power in a union.
> But I don't accept the smart fortwo as a typical small car.

Yeah that was why I had that disappointment, I was expecting gas milages closer to what you said. If I could get a car like that in the States, that would be awesome. I would love to get a car that gets 70-90 mpg.
Those devices have addictive properties, especially casual mobile games and social media.

In the past addictive properties were enough to get people to do absurd things like roll up leaves, light them on fire, and deliberately huff the smoke. That's arguably more harmful than what mobile devices do to us.
Amazon continues to grow lead over Google as starting point for shoppers (2017)
"Where do you start when shopping for something online? For a majority of people, it’s Amazon — not Google.

That’s one finding from a recent research report from Raymond James that surveyed 587 people about their online habits.

The study found 52 percent of respondents who said they start their online purchasing process at Amazon, which is up from 47 percent last year, and 38 percent from the year prior.

That compares to 26 percent who say they start at a search engine. This graph shows the changing habits clearly:"
Why is acting in old movies so bad?
To expand on this a bit, the C++ unordered map (hash table) uses basically a linked list to track the entries in each bucket (separate chaining for collisions) because the standard requires that operations that may resize the map don't invalidate iterators.

You pay for this with extra memory allocations and non-contiguous memory access.

In most low level benchmarks, other collision mechanisms (probing, etc) perform much better.
It's from Scott Adams, the creator of Dilbert. The term used is often "skill stack" or "talent stack".
Here’s the relevant Wikipedia article, which has a decent explanation: https://en.wikipedia.org/wiki/Multiply%E2%80%93accumulate_op...
Please don't. Anything but Chrome based browsers. Chromium based browsers already have a monopoly, giving Google a huge weight when it comes to the web.
Why machine learning struggles with causality?
In in backend exactly because I don't want to deal with your front-end crap.
And? Don't you want your politicians to be boring, really
I dont think this confirms that WhatsApp can ready our messages. In theory it could be implemented as a simple message forward, just as any message can be forwarded in Whatsapp.
Their product has been bleeding out users for years.

Everyone knows that Firefox was supposed to be "the customizable" browser. Everyone apart from Mozilla.
Mozilla wants to make Firefox a Chrome clone.

In every thread users write how they want addons and customization (especially in UI), and in every thread Mozilla apologists talk how the foundation should drop the "tech savy" group for some other group. That other group doesnt seem to materialize - they are losing users fast.

Also explain to your grandmother that the UI needs to change for 10th time just because someone from Mozilla says so. Chrome is in fact stable in this regard (although they like to change settings all the time what is same problem).
It is wholly open-source now.
I share your frustration. Finding a nice case that doesn't have a window is also hard.

I guess the demographic that buys PC parts these days is gamers that are into this stuff (as I was when I was 16, anyone remember cold cathodes?).

The vast majority of non-gamer computer buyers buy systems (or laptops) from Dell & co.
The article understates it, but for those out of the loop, getting a current-gen GPU is basically impossible unless you want to pay 3-4X MSRP on eBay to scalpers. Buying a prebuilt like this is the only way most people can get their hands on one, since OEMs have separate supply from retail.

The GPU market is so crazy that my Nvidia card I bought 6 years ago is selling right now on Ebay for 1.5X what I paid for it.
> quantization noise is pretty big

Seems to be true. I have an account which is apparently from 2007, so included for the classic page. When I upvoted the article on place 29 and refreshed it jumped to 28. When I upvoted the article that was now in place 29 it jumped to place 24. Votes on the normal homepage don't seem to have anywhere near that effect.
I didn't check the codegen or anything, but:

1) Yes, almost certainly zero-cost.
2) This isn't a hot part of the program.

See also: https://old.reddit.com/r/rust/comments/m5ix0s/performance_co...
The people banned from Twitter or otherwise 'censored' by private business are still free to use a literal soapbox in the literal town square to communicate with fellow citizens.

It does require more effort though; there is that.
Those aren't general purpose compute devices.

But the legislation shouldn't compel Apple to support arbitrary software. Simply to not prevent its use on the hardware they sell. So T2 has to go.

Just like how the upcoming right to repair in the UK is getting it wrong. Compelling hardware makers to sell replacement parts for a set time frame is an unfair burden on them. The law should simply create the framework to allow the aftermarket to support the devices like it already does with cars. For example Ford will eventually stop selling parts for its cars but I can still go to Autozone and get parts for an old Ford that aftermarket companies have made. And Ford doesn't sue them into oblivion for doing so.
> Well, processing data correctly is a form of art. Raw data contain systemic biases and are not ethical. It takes an artist to cleanse data, and present them without bias in an ethical and moral way.

This is one of the most dystopian things I've read in recent memory. Raw data is bias but it's art to "cleanse" the data and make them "ethical and moral"? The system is bias, but the artist is without and can bring purity.

This is some truly Ministry of Truth level thinking and it's quite disturbing to know people genuinely believe this. No wonder we have a replication crisis.
Missed the sample set from the example. on the kjvbible.txt file with no optimization:
...
WEB> (time (performance-count "/home/frederick/kjvbible.txt"))

the 64015

and 51313

of 34634

26879

to 13567

that 12784

in 12503

he 10261

shall 9838

unto 8987

for 8810

i 8708

...
Evaluation took:

0.365 seconds of real time

0.370322 seconds of total run time (0.338364 user, 0.031958 system)

101.37% CPU

1,060,005,621 processor cycles

106,297,040 bytes consed

I had a bug in my original code which alphabetized rather than sorted by count, so the sort line should be:

((keys (sort (alexandria:hash-table-keys map) (lambda(x y)(> (gethash x map)(gethash y map))))))
Primarily because it omits many essential things and focuses on only one (now outdated) architecture.
No. If you are not a covered entity or business associate, that is not correct
In this context: the time which is valid in each country outside of the DST shift. Yes, there is some mismatch between the time zones and the local astronomical time, but this was decided long ago for the sake of good inter operation between the countries. If the EU wanted to get quickly rid of DST, just not doing the switch to DST would have been the means of choice. Renegotiation of all time zones first will take many years to resolve, and there are few really good alternative layouts.
Yep we are about 1 percent or just over I think.
> by introducing a "shame" aspect

In practice, though, this just ends in ideological witch hunts. If you look at, say, the Twitter comments that got Gina Carano fired from The Mandalorian (and evidently blacklisted from Hollywood), they were actually pretty tame overall, just not in line with the nouveau moral minority.
I think the real benefit of DST is spring/autumn where you definitely do get more daylight during waking hours rather than mid-summer (i.e. check out sunrise/sunset times for April/September rather than July)
The Kipton Train Wreck of 1891 and the Great American Railroad Watch (2019)
this is not the legal definition of PHI in HIPAA
Scala 3 Release Party