skysight-inc/HackerNews huggingface dataset:
>The reality, however is that social media companies with their curated feeds, dopamine buttons, echo chambers, and sheer size can push products to the market that cause detriment to the overall cultural environment.

Given the nature of the internet, any entity can bring a product to the market that could be negative for users. What's the solution beyond the current legal framework?

>Your argument essentially posits that opioid addicts be held responsible for their addictions rather than our legal system clamping down on big pharma.

There's a wide gulf between consuming and engaging with intangible media content and abusing biologically powerful physical substances. Someone becoming addicted to a controlled substance like opioids is different from social media in a profound way. I think society recognizes this given that opioids are largely controlled substances.
The whole US population is growing, as are most states. (Although California and New York shrank this past year.)
What you need to worry about being tightly integrated with Apple is not a hacker getting your data - it is being stuck with you or your surviving family not having access to your own data. This is my primary worry about walled gardens such as Apple or Google where you could be locked out of your own data because, you know, you looked at your phone the wrong way.

In this instance, you are better of relying on someone whose primary business is to save passwords. They are more likely to have thought about this.

For example, 1Password, explicitly offer an emergency kit[1] for your surviving family should something bad happen to you.
They also used to have a zero-install reader called 1Password Anywhere, but that seems to have been discontinued.

[1] https://support.1password.com/emergency-kit/
> But I trust Apple to exist or migrate better than a dedicated product company

I'm staring at my huge Aperture photo library (with tags, edits, versions and albums). Apple left me hanging. I would not assume anything of a huge company.
These can be mined elsewhere, for some reason nobody has been bothered.
Have you tried KeeWeb and AuthPass?

https://keeweb.info/

https://authpass.app/
This happens so often I basically assume any image I see for astronomy is fake until proven otherwise in the article.
Quit using lastpass garbage. I don't know why anyone is using anything other than KeePass. Open source or bust
I'm basically just a mathematically competent but economically dumb observer, so I can't weigh in myself, but there is generally a huge amount of debate over Piketty's work in the economics community.

I've had the book recommended to me several times by "I'm happy to pay more taxes"-types as a one-stop shop for societal ills, but it's not that simple.

The seeming lack of attention on land and other rentseeking also puzzles me.
Thanks! I did not go as far as connecting it to another device. I just noticed the mic indicator disappeared when I locked the screen. I’ll be sure to experiment with a full setup later.

And yes, definitely everyone on earbuds. Software or even DSP echo cancellation drives me crazy and I’m trying to eliminate it from the equation as much as possible.

Thanks for this project!
I'm in the EU too and I don't know of a single place where programmers are considered to be a higher social class than executives and top tier managers.

The EU is a big place and everyone's experience is different, but I think you're overstating matters hugely.
Please don't anyone take this as a plea to 'improve' the UI of keepass :-) Sometimes "... crap", just works.

Been using kp for years, also the android version. I manually sync my .kdbx files, and all is good.
Don't put too much emphasis on "you" there...the two will diverge quickly. :-)
Not to be the one who is the one, but 1k lines per day sounds like the opposite of productive. If you still have to add/remove such large swaths of code, you're surely doing something weird.

Still a great achievement to produce a bundler and minifier as a one-person team, but not sure we should use the amount of code line changes as a measure for productivity.
I feel like we could ask that about any author. But we don't go down that road in every post.

But do you have thoughts on the actual article?
The smattering of new techniques seem to have made the difference between success on toy problems vs. being able to match or exceed human performance on many difficult tasks. So while naysayers are correct that "the math hasn't changed since the 90s!", enough has changed to make calling DL a paradigm shift accurate.

For reference, I can now get an intern to images for a few hours, then train a black box algorithm to automate their efforts in another few hours. This algorithm is sensitive, brittle, and may have perfomance issues, but it's still already orders of magnitudes better than what took days or months of effort prior. That to me is a revolution, regardless of the math.
Touch isn't any different than measuring radiation interacting with something. These are metaphysical questions, not scientific ones.

Scientists, like everyone, have a realist perspective. They consider reality to correspond with appearences. But this is a convention or a metaphysical belief or even a religous belief, it's not scientific.
Only if the inequality isn't warranted. If it is backed by by armed autonomous drones or other ways to efficiently project power without needing lots of people then there is no reason it wouldn't be stable.
We really need it to support top level await, and the author doesn't seem to be that interested in supporting it at the moment. Hopefully he will come around soon.
I agree completely. I would've spent ridiculous amounts of money on that game at this point if it weren't for loot boxes, but alas it wasn't meant to be.
I wonder if you can narrow down what types of fiber the twine was made out of and rule out plants native to North America?
it's literally the exact same scenario:

latin prefix + single letter:

micro-n
sono-s

latin prefix + short word:

micro-soft
sono-bus
And I have seen several Germen developers on here saying they are not seen as high status professionals.
You're right. On first read I thought it made a tongue-in-cheek turn to why you might listen to him anyway, got disgusted, and stopped reading. My mistake there. But really, why write a whole article about a number of pieces of clothing the emperor's not wearing?
Perfect, thank you, this is right up my street!

I host a static site for my blog, using Hugo so "no server" etc is exactly what I need, and writing the filters/queries myself leaves me in control of getting what I need out of them.
Depends entirely on the bank. Retail banking pay is about average, investment banking pay is generally slightly under FAANG but still relatively high.
> because the two sides of the ternary are guaranteed to be expressions rather than blocks

But expressions can contain blocks. Therefore, this is valid:

int main(void) {
while (1) {
1 ? ({ break; }) : ({ break; });
}
}

The right way to easily spot control flow construct is syntax highlighting.
Yeah I would never recommend relying on just a linter. The linter can reduce scut work, but you always want to have at minimum a thorough code review process that’s looking at things like “ok, we made the linter happy; but are we happy with the result, or should we have just disabled the linter here?” and “the linter didn’t catch that we solved this thing with X here but with Y&Z last time. Let’s rationalize our approaches and get everything on the same page”
Reading between the lines they're that room mate who harasses you over their grievance every day while feining politeness. I'd rather move to a longer commute than live with someone like this.
To a certain extent, yes, though my understanding is that HN's comment ranking algorithm is substantially different from Reddit's.
Why you should stop using CSS shorthand
> first, I don't understand how this quote squares with your overall description

A person who "received a warning in an unclassified briefing" isn't first-hand. At best it's second-hand, if whoever analysed the hardware implant was going out giving briefings in person. More likely it's third-hand.

> it seems like a very realistic scenario to me that some of the details of what happened became "lost in translation"

If the claim was an evil driver update, or a backdoored BIOS, that would be completely believable.

Indeed, most of the details of this attack could just be a miscommunication about a BIOS backdoor - supply chain attack, malicious, code that shouldn't have been there, stored in an eeprom on the motherboard, undetectable by visual inspection.

But the much more astonishing claim of a malicious hardware implant between layers of a PCB? Something that surprising needs the testimony of an electronics expert, not a cop or a C-suite officer. Especially after the purported victims from the first article denied knowing anything about it.
People start school at as young as 5, and sometimes they skip grades.

I was still 14 going when starting grade 9, no skipped grades.
If you knew the law then you wouldn't say how bloody stupid it is.

It isn't perfect, at all, but no laws are. This is a major milestone for the discussion of data privacy and pushed the world into that, it needs to be worked, of course, but that's how laws work, they take time to evolve.

As someone who has had to work on several GDPR compliance initiatives I don't think it's bloody stupid at all, no matter how much more workload it has created for all the teams I helped to implement it. It has quirks but it's in no way bloody stupid.

I'd prefer if you can list your arguments for being bloody stupid as just stating that does not develop any kind of healthy discussion, it's your opinion and judgment of value, with no supporting argument. Good luck with that, victim-blaming is corporate-bootlicking.
How? I mean, what non-crypto not illegal thing you actually can currently purchase without going via fiat?
My guess? Because tech companies have small enough startup costs outside the employees that they can credibly leave to start their own company. (And there is enough market demand where they could succeed, unlike some field like Law where it’s true the fixed costs are all lawyers and what they know, but your case record and prestige sets the demand)
That post explains how it might be possible for someone with 10% of mining power (and 100% of legal power) to block certain transactions. Nowhere in that post does it claim that such an attack has succeeded or that mining pools are collaborating with governments.
The answer is that there is an inherent tradeoff between Risk and potential growth, i.e. amongst the "initiated" (like people engaged in active debate over these matters) the people who just want a simple life and a job are vastly underrepresented.
Probably not... I think he comes back pretty quick. It's cold outside in these parts, and he's still just a kid throwing a temper tantrum, after all. I didn't get many details, was only a short chat. I was shocked by the story though. I don't recall being nearly as attached to anything as a kid.
It's most probably more of south/eastern thing, but it definitely exists here literally as I am describing it - even the government acknowledged it in their yearly statistics; even the EU did actually.
I've never experienced this.

I just checked (in Firefox) my history panel, sorted by date...
Today, Yesterday, Last 7 days, This Month, a named month for the prior 5, and Older than 6 months.

And some of the randomly sampled stuff in that giant last category is quite old.
Disable virtualization in the BIOS/UEFI before installing. As for a performance hit, virtualization in the silicon (through Intel VT-x or AMD-x) has almost none. Especially compared to what came before it where a VM had to essentially JIT the virtualized code.
I've been wanting to move away from LastPass for a while now for different reasons - it feels very heavy and clunky. It's slow and the autofill can be glitchy.

Does anyone have any recommendations from this perspective? 1password seems more Apple-oriented, but my devices are all Windows (chrome), and Android.

There's lots of discussion here about "terrible UI," but I imagine none of these password managers are consistently great across all platforms. E.g. Someone using an app solely on a linux desktop in Firefox will obviously have a vastly different experience than someone using the app primarily on an iPhone with safari.
“You’ll never work in this town again”
What's going on with all the Uncle Bob hate nowadays? I last heard about him ~6-8 years ago when people were preaching his sentiments about clean code and TDD.

I agree with some of his stuff, e.g. he was the one who convinced me how important tests are.

Also the blog author is exaggerating in lots of places e.g.:
"Safer Languages: The ‘Dark Path’." In the linked article he says "It’s not the fact that Swift and Kotlin are statically typed that has me concerned. Rather, it is the depth of that static typing." (I myself don't agree with Uncle Bob, I think nullable types are an awesome thing)
Why do people feel entitled to "usable" ML at all?

In the last 5 years, we have made incomprehensibly huge improvements in power and usability. It's an active field, and improvements are still coming at a steady pace.

We have already revolutionized search, natural language processing & machine translation, image/audio/video processing, robotics, game AI, and advertising (for better or worse).

And on top of all this, we have significantly reduced the "time to first useful model", and we have significantly lowered the math and programming requirements for building and implementing models. And now we have transfer learning, which lets any old Joe Schmo benefit from massive computing power and datasets to build small on-device models that blow away SOTA accuracy from even a few years ago.

Oh, and the ML tooling ecosystem has become a substantial source of innovation in programming language design, "developer UX", and "data ops".

What the fuck more do you want? The people who seem the most upset that ML isn't magic seem to be the most confused about what ML even is and does.
::Personal Opinion Warning::

When it comes to security, smoothness is kinda low on my priority list. I'm fine swapping windows to copy/paste values, or pressing a hotkey.
NYP is garbage, quite famous for splashing completely untrue stories on the front (or top article on WWW) and then retracting it a few days later in the most remote areas of their media.
> You can model the motion of planets with geocentric epicycles, but that is less real than a model that uses heliocentric ellipses.

This example actually weakens your argument. Heliocentric ellipses are chosen because they explain our model well and importantly are simpler than epicycles; but we can make epicycles arbitrarily accurate by piling on as many of them as you like.

So which is real? That Earth and the other planets revolve around the sun or that the sun and other planets revolve around the Earth?

> if we have a 100% accurate model of physics that employs a concept of spacetime such that there are no leaks, no unaccounted for observations whatsoever,

Let's say I have a box with a green LED, a red LED, and a button. One of the LEDs is always lit. Whenever I press the button, that LED becomes unlit, and the other becomes lit. If I try to open the box, it explodes. My model of how this box works is very simple: A demon is sitting inside the box and touches the LED that becomes lit. When I press the button he gets poked with a tack and switches to touching the other LED. If I try to open the box, he gets angry and blows up.

This model is 100% accurate. Every one of these boxes I have seen always behaves this way. Is there a demon sitting in the box?
It's such a shame that most hobby-related content has moved to Reddit. Because of the way the algorithms work there are no long-running threads and recent content is heavily favoured.

This is terrible for hobby boards because it means that content from long-timers gets drowned out by newbies asking the same questions over and over. In my experience hobby subreddits are completely dominated by inexperienced newbies giving one another the same cargo-cult advice. That, and straight up image posts with literally 0 value (for example the front page of /r/simracing at any given moment is usually about 30-50% pictures of just a steering wheel / rig from someone saying "got my new wheel/rig today").

The old days of forums were great for hobbyists because the long-running threads would stretch into the dozens or hundreds of pages of comments. Newbies could be directed to the longer threads or deep-linked directly to older comments. The format surfaced all posts, but did not favour recency - old threads could be revived (necro'd) or kept up top indefinitely. It wasn't perfect but it was a system that favoured long-timers over newbies.
I don't share the sentiment here. I find the essay too long and boring. I usually enjoy reading his valuable essays but this one is too much about his life which is not that interesting to be honest, given I don't know him personally. But that's OK, not every essay needs to appeal to everyone.
It is difficult to get a man to understand something, when his salary depends on his not understanding it.

- Upton Sinclair
Link? The best Google result I could find given context was:

https://www.thefearlessman.com/the-curse-of-the-middle-class...

but there was a full page of different results under that title so I'm not sure it's what you were referring to.
Yes, I was hesitant about that, but I was operating under the assumptions of the described experiments. :-)
> For those situations where someone emails me an Excel or Word file that they would like my edits in, and I'm simply not in the position to extoll the virtues of open formats or coach them in Markdown or LaTeX, I have a Windows VM and office.

My solution to this is that if someone sends me something that can only be opened in Word or Excel, they don't want me to look at it.
https://bitwarden.com/help/article/import-from-lastpass/
Does esbuild work with font files that comes with css as well?
Maybe I don't realize the threat level.

Chance of dying in a car crash, 1 in 77.
https://www.cars.com/articles/are-the-odds-ever-in-your-favo...

Chance of dying from cancer, 1 in 5.
https://www.cancer.org/cancer/cancer-basics/lifetime-probabi...
Think what you will, I've converted several households to only use Dr. Bronner's and be generally clean of VOC pollutants. Sure, it's fucking annoying when someone's making you change the ways you've been settling into for decades, and it's also the truth, and a fight worth fighting, in my opinion.

It's also easier than you think to change these habits.
This seems a little pedantic. It may not be literally required by the technology, but GraphQL certainly makes it easier to introduce N+1 queries than a traditional REST API.
I live in one of those state Californians are moving to, and the hate for them is simply epic.

I keep thinking it would be amusing to give out bumper stickers that change in the rain -- with text to the effect of "STAY OUT", or "GO HOME", and a red circle/slash over an image of California. When it rains, the image of California changes to an image of Mexico.
Is this really true? Seems to me like they get endless applications.
Come on, really?

Electric motors and lithium batteries aren't new either. So much for the EV revolution, nothing to see here.
> that's almost 1000 lines per day every day since he started. Amazingly productive.

I know what you mean, but I also hate using lines of code per day to measure productiveness, and I hate it when managers in corporations look at number of lines added in PRs to measure how productive a dev is.
I won't disagree with you on this. It does work, and WRT security, fewer integrations is sometimes better.
Yes, the difference is between internal iterators vs. external iterators.

For external iterators, Ruby's Enumerator syntax is a little less convenient. But I think it's a small price to pay for not having 2 colors of functions [1]. In Ruby, an Enumerator is just an object with methods like any other object. And there are things built in to core to make working with lazy enumerators just as easy as regular ones.

To GP's point, you rarely actually need enumerators because of a block's ability to break in Ruby. It's the most useful thing that's in so few languages [2]. For example, if I really wanted to write an infinite loop yielding fib -- not saying I would do it this way but -- the quickest way to do it in Ruby, adapting the Stack Overflow example, is probably more like this:

def fib()
puts "Enter function"
a = b = 1
i = 0
loop do
puts "Inside loop"
yield i, a
puts "i: #{i}, a: #{a}, b: #{b}"
a, b = b, a + b
i += 1
end
end

n_from_user_input = 5
fib do |i, x|
break if i == n_from_user_input
puts "Use value: #{x}"
end

1: https://journal.stuffwithstuff.com/2015/02/01/what-color-is-...

2: https://yehudakatz.com/2012/01/10/javascript-needs-blocks/
The scary part is who has built tools like this before but people didn't know they existed?

At least now we all have access to the same tool. Maybe this one won't have everything the "secret" tools have. But it's a good start!
"No, the legislators didn't want the pop-ups to be annoying. They didn't even require pop-ups."

This is the point: the legislators were exceedingly naive, and created a bad outcome.

'National Geographic' is not evil, they are struggling and most of these sites are not giant entities with well-staffed experts.

It's a good example of poorly designed legislation.

"This is part of their game, make the experience miserable to people start getting angry at politicians."

This is completely false and conspiratorial, almost disturbingly so.

These are normal companies, with normal people, pragmatic policies.

The legislation has unconditionally failed at least in this specific way - all we have now are constant popups. That's the reality of the change.
Ask HN: How to self-learn graphics programming?
My background: 1st year CS student with knowledge in Python, C and some Rust.

I have been wanting to learn graphics programming for a while, so I picked up Computer Graphics from Scratch [0] today, but found the math confusing. Can you recommend me some primer books on graphics programming which do not assume much mathematical background? What are some concepts which are absolutely necessary to know? Can you point me to some resources which might be helpful?

Thanks!

[0] https://www.gabrielgambetta.com/computer-graphics-from-scratch/
Is software engineering a situation where hiring engineers below a given bar would result in net-negative productivity?
Terrible article, terrible comments!
And the early beowulf cluster stuff was definitely breaking new ground, and is the direct ancestor of the most powerful supercomputers in the world right now.
My kids have one set of grandparents who will not let them fail, even if something happens to us.

There are good, respectable degree programs that will get you a job where you never lay in bed worrying about money. But if you want to be rich? You may have to take a bigger risk on a more prestigious program that not only looks good on the resume but introduces you to a social network of other future (or current) rich people.

If that doesn't work out for you, you've saddled yourself with a huge bill. If your parents can't help you pay that off, you're completely fucked. Especially since they've made sure that you can't discharge those loans via bankruptcy (and that is class warfare).
Ask HN: How do you build APIs with Node in 2021?
Coming from predominantly a PHP background but with a lot of JS experience on the front end. Interested in exploring Node to write stateless APIs and wondered what the most popular tools/frameworks for doing that were.