skysight-inc/HackerNews huggingface dataset:
I’ve been working remote with flexible hours since 2008. Back when I was younger, I preferred flexible. I’d often sleep in, and work late. Nowadays, I wake up between 4 and 5, start working at 6, and finish around 14. Sometimes this gets moved around a bit, but mostly it’s fixed.
The weird insistence on supporting only Metal and nothing outside of Apple's own bubble is entirely Apple's own doing.
> What's the point when the tech is non portable

I know that you meant something else with this, but the wording amused me as currently Firefox is the only up-to-date "portable" browser that lets you carry around your browser profile in a usb stick.

Anything with Chromium deletes your extensions, passwords etc. whenever you open it in a new computer.
==> https://www.keychron.com/pages/keychron-k3-wireless-mechanic...
> delivering 142 fps at 4K and 114 fps at 1440p

Why does the FPS go down with lower resolution?
The ‘Equal-Opportunity Jerk’ Defense: Rudeness Can Obfuscate Gender Bias
>You can't fault the good idea

Is it really such a good idea if it took no time at all for it to start being abused in a manner that is opposite of the public interest?

>What's next, private cops paid per criminal caught so they have an incentive to create/force/incentivise/dupe criminals?

Informants do basically this all the time.
I'm aware of western snapshot photographers like Nan Goldin. All countries have photographers of all styles. My impression of east vs west mostly comes from visiting photo exhibitions and I do notice a difference between styles and what each culture appreciates most. I don't have the artistic background to truly articulate what is different. But I do notice many photographers in the west, like the person in this article, approach photography like painting.
To be fair, that seems to be a copy of the page from more than 10 years ago (note the "Copyright 1999-2009" in the footer). The current website still seems to be run by the same company but looks much more modern.
JPCert has a better notification page (And the actual three, instead of dropping the Captive portal XSS)
http://jvn.jp/en/jp/JVN87751554/index.html

But these are all pretty lame "vulenrabilities".
Yes, but if there are close to 0 games that don't require Rosetta, what's the point? Disclosing a theoretical emulation overhead that can't be proven would even be worse.

It's either this or no comparison at all. And it's a game that apple often uses in their promotional materials.
> That said, am I the only one getting annoyed with shallow comparisons of the M1 products? Or is SEO BS hiding the good stuff?

Could "Many tech 'journalists' are Apple fanboys" be a reasonable explanation?
I'd like to see that AI project ran on different codebases. For example, a C++ corpus is going to be weighted differently than a Python one.
It depends a lot on where you work I've found. I recently had the chance to experience a team where they were given the full implementation logic by a product team, and your job was to turn it from business logic to code almost 1:1. I spent nearly all my time writing and testing, which was an interesting change.
Personally I think this entire situation has been at the behest of the AR push. Same with stuff like putting LIDAR in the iPhone. Push that price/performance down in a proprietary way so that when AR/VR becomes a market you have an unassailable advantage. At least that's my pet theory. In the meantime it's paid dividends as a Mac fan.
Embedded keypads are fairly nice and at the top of the slippery slope.

I never used to use the numpad layout, now I do but on shifted keys and can also use it on my Macbooks and other small keyboards.

(Note, a lot of the keyboard community stuff seems to assume you're going to use one specific hardware keyboard. I do have a bunch of odd keyboards, but I mostly use software to remap the keys rather than firmware, so I can be consistent across keyboards).

Maybe if I was plugging into more weird computers I'd need to bake it in to the keyvoard device, but at the moment software has been good enough for everything I need).
Not sure if it is possible to have "only valid object exists, ever" and have it working for real. In pointers we have NULL to signal "not a pointer". In floats we have NAN to signal "not a number". In integers I miss not-an-integer enough that I often designate INT_MIN as not-an-integer representation. I notice when working with indices, index 0 is a convenient not-an-index value. Don't know enough theory to figure if this empirical anecdote amounts to something more than that.
Visual Studio also has had it for several years in debug mode for C++, Edit-and-Continue.

Since last year they have been working on it to make it more dynamic, improving the use cases.

It is these little things that make it so much better than the UNIX alternatives.

However there is also ROOT and now CINT from CERN, or Live++.
Things I'd Do If I Ever Became an Evil Overlord
Late appendix.

Apparently I do have an debit card and apparently something at Stripe had changed, since when I tried it some months ago, because now it all worked(without me changing anything) and I did not even needed my credit card. Who knows.
When to UseMemo and UseCallback
Because they have a week where they can control the narrative before the press gets their hands on actual devices. Every news site on the planet wants to write about the new Apple stuff, and since there are no 3rd party benchmarks yet, they have to parrot Apple's claims.

A week later, most of the press has already forgotten about Apple's new stuff already, and noone cares about the actual benchmarks. Except us techies, who didn't believe Apple's claims in the first place.

To be honest I'm much more disappointed that they shipped yet another crappy webcam in the Studio display after claiming it's the best webcam ever. (The webcams in all the M1 Macs suck ass, despite what Apple and the early press reviews claim)
Dvorak is one of the well-known layouts and even now we can't have it on the iPad, so I don't think keyboard layout is only about efficiency it's also popularity and availability.
I understand what you are saying... and you are right for most of it. You have to change your mindset a bit to use a static site generator. But you should keep in mind that "classic content management systems" have some major disadvantages, that are real:

- security - a static site tends to have less vulnerabilities and security issues

- performance - there is nothing faster than a static site, if the webserver is configured properly

- maintainability - a static site has no database and is easy to version control, backup/restore and manage

> Then a proper editor feels nice.

And there is no one that prevents you from setting up "content management" for a static site generator... I tend to use my JetBrains IDE, but there is also Typora or MarkText for editing my files.

> It also lets you have more metadata without resorting to a weird data format.

Hugo supports external data files, and with little effort, even static site search. See https://pilabor.com/blog/2021/05/building-a-blog-with-hugo/#....

> Besides, you can just log in and change something.

You can use github actions for deployment, then you can just use github editor to change something.

Just my 2 cents. Maybe try it for a smaller site... it's awesome.
For my Mario Maker 2 level viewer, I used binrw in Rust (compiled to wasm) to parse the level data, it was quite a nice experience, very declarative.

Lib: https://github.com/jam1garner/binrw

Example level (a little slow to load): https://www.smm2-viewer.com/courses/BMV-CN5-4DG
I'm in the Netherlands and I've rarely see a developer use anything other than US ANSI layout on a laptop. Consumer level stuff often defaults to US ANSI, but there is a bit of US/english ISO layout going around too.

A Dutch keyboard layout is a thing, but I've never seen one, just heard of some writers/editors using it.
That graph from the verge can’t be right. There is no way you get more FPS at 4K than at 1080p on Shadow of the Tomb Raider while keeping all the other settings the same.
Dishonest?

Trying random things and repeating what works while discarding what doesn’t is how evolution works, but it’s not the same type of thing as a scientific or proto-scientific understanding (lots of cultures did proto-scientific at different times, and real science is much more recent and mostly worldwide).

Sure, that’s how we got humans from single-celled life, so it’s not nothing — but evolution is also why humans still have an appendix, why dudes have nipples, why the recurrent laryngeal nerve takes a stupid path from the brain to the larynx via the heart not just in us but even in giraffes, and why so many people descended from malarial regions have a gene where two copies gives you sickle cell anaemia.

So while I would agree that it is wrong to call something “superstition” just because one doesn’t understand it [0], if the people doing the rituals also don’t understand it then it becomes fair.

Consider the Covid pandemic: wearing a mask slows transmission, but every so often I saw people with a mask covering only their mouth and not their nose.

Consider people asking for an antibiotic for a viral infection. People who say “I don’t want chemicals in my food”. People who think 123456 is a really good password.

Consider a Diesel engine: you can run it on vegetable oil, including recycling used oil from a commercial deep fat fryer, if you filter it. Imagine two people who didn’t know why it needed to be filtered, one who wasted time filtering fresh oil and one who didn’t filter dirty.

Consider a small pacific island in WW2: one day a lot of strangers clad in unusual clothes show up in a big boat, make a long flat clearing, hold strange shaped objects to their mouths and ears while repeating a mysterious chant in a language none of the locals speak, then loud birds appear and land, laying eggs filled with wonderful treasures beyond measure.

Clearly these people are wizards, so when they all eventually leave, the locals copied them, carving their own mouth-and-ear totems from wood, sewing ritual clothing in the same style as the strangers’, chanting the same words.

A decade later, it works! Another giant loud bird lands, and people who look and sound like the old wizards emerge. The new arrivals seem perplexed, so you explain that you are all following the teachings of John Frum, trying to summon the great god Cargo.

This isn’t a value judgement I’m making here, because if it was I would have to condemn myself also. Nobody is immune to this. And something being a cargo-cult or any other kind of superstition doesn’t mean it doesn’t work, just that you’re only going to get a useful result by luck (e.g. because an aircraft had to make an emergency landing and your palm-tree runway with a bamboo observation tower and people holding hand carved toy radios looked good enough from a distance).

[0] likewise “supernatural” but in my experience the latter term is used by believers and the former by nonbelievers
I agree with the book on TDD if it is the _driver_. It’s not, you are.

But if you’re doing a lightweight version where you do actually design, or explore a design, and use tests to simply run your code in isolation, document usage variations and failure modes, then it’s a very useful and pragmatic tool.

This doesn’t necessarily mean you should hack your code into small bits and all that. Example tests and a REPL are just a nice combination of tools for interactive programming.
All Apple has to do is to enable workstation-level features in its drivers and they'd beat 3090 handily. Even Titan RTX demolishes 3090 with workstation drivers in software that uses those features. As for raw performance, 3090 is far ahead.
Yes. TDD is the micro version of Agile. It works because getting adequately comprehensive requirements out of a client, or for a business process, is incredibly hard. The first version will nearly always be significantly wrong. Everyone then shouts "do better", but that's not within your control.

So both Agile and TDD evolve a solution from "in this case, the software needs to do this". You take the software to the client/users, find out the next layer of requirements when they say it's not quite right, and adapt it.

(Every now and again someone tries to make a sort of requirements document that's also an executable test. Directly mapping the given-when-then of user stories to arrange-act-assert. It doesn't work for the usual 5GL reasons, but it doesn't stop people trying)
I was wondering the same and checked the source (the verge) and they have the resolutions swapped which makes more sense.

https://www.theverge.com/22981815/apple-mac-studio-m1-ultra-...
Why is the enter key and backspace out of scope for optimization? Makes no sense to exclude those.
And on top of that it’ll heavily contribute to a huge reduction in electricity prices from €70/MWh to €45/MWh.
I think the article is interesting, but I think it glosses over the very real cost of working like this.

As someone with a career in safety-critical software (aerospace, automotive), it just doesn't make sense to me that anyone else would _want_ to be doing TDD or other similar methodologies. It's _so_ much more effort to do tests before code.

Sure, if you write some bog standard piece of code you've written a million times before it's basically a wash. But if you're writing something novel that you have to iterate on, you eat at best a 2x constant factor on all the work you do*.

The above is especially true if you're doing exploratory work. Which, of course, you don't always know ahead of time is where you'll end up. Often you learn something new - about architectural constraints, about an API, about performance, about the hardware, or most often about the true implications of the requirements/specification - and then your entire initial plan goes out the window.

This all said, obviously if you don't have tests your product is broken. But if nobody dies when it breaks, just write the code and then add the tests with the biggest bang for your buck. Spend the time you saved becoming a better programmer, as ultimately that will catch more bugs than anything else per hour spent.

---

*Frankly I think the truth is actually that the larger the feature (bug fix, change, work packet, what will you) the more the slow-down factor grows.
Yes, definitely. Discovery with IPFS is abysmal.
Thanks, I guess I got to build interesting things and I'll never regret that. I always wanted ownership over the things I built and it allowed me that fully 100%. But the journey is hard and long, eventually it gets to you. I can't complain anymore though, I have a house, wife, family, etc. I'm blessed.
Is it possible to use a keyboard layout when typing text, but revert to QWERTY when doing ctrl+V or other key combinations?

At the most basic level, you could simply have the keyboard layout change whenever Ctrl, Alt, or Meta/Super is pressed...
TLDR: Google doesn’t want prepaid cards for obvious reasons and blocks all cards from that provider, and author keeps trying over and over again expecting different results.
The biggest question is why did they can the project?

Without knowing that, I don't really want to touch it. If I spent a couple of years trying to take their prototype design and bring it to market, only to discover the fundamental flaw that also caused them to can the project, it would be massive waste of my time and resources.
Someone here does not Vim
I wrote a similar solution based on reflection for a game server I wrote in Go. It's probably too early to be worrying this about but reflection is apparently slow. I also found it difficult to write reflection code that was robust.

The problem I'm stuck on now is that since my "Unmarshal" function returns interface{}, I have to type assert for every type of packet in the protocol. There's probably thousands in total. I need some magic that can automatically Unmarshal to a concrete type and pass it to an appropriate handler. gRPC's codegen does this for you. Still working out how best to do this in the constraints of Go.
Most likely a lot of this is simply suppressed resignations that would have occurred during the early months of the pandemic but people waited to see what would happen, whether the economy would crash etc.

I quit my job in March 2021. It wasn't to do with any Great Resignation. I'd planned to do so a year earlier and then lockdowns started so I decided to stay put to see how things worked out. A year later it was clear the whole thing was massively overblown, so, time to pull the plug.

If I was asked on a survey though, I'd probably tick a bunch of these boxes. Discrimination and sexism in the workplace? Sure. Against men. A good reason to leave and be my own boss.
a speaker of Scots may be excused
Software or Building architecture?
This is going to sound vague but poorly thought out typing/type signatures.
I always preferred flexible hours and still mostly do, however I have a lot of stuff to juggle in my personal life and I found that just allocating a few hours in 2 or 3 slots in my day helps me achieve more.

So I started doing that. Gym's over, I got my meal, rested for an hour, started feeling energized and I am like "OK, time for a 3-4h work session". I make tea and prepare a 2L of water bottle next to me and I get to it. When I feel even little tired, I stop and rest for a bit, maybe eat again. Rinse and repeat. Works pretty well for me during the last year or so.

So if you're flexible hours advocate I'd say combine both. You might not work 8h in one sitting but it will still pay off huge dividends to your mental health to have allocated time slots for focused work.
Ask HN: What is the state of Boeing’s safety culture?
I think the question is the same if physics needs pi or sqrt(2) number's that kind off can't exist in the physical world.
I have done just this, Dactyl Manuform with trackball custom generated with clojure (horrible) and trackball brutally added in meshmixer then 3d printed at home, it's fantastic. The fun starts with firmware.

https://www.dropbox.com/s/mpjnojraag3w1uj/20220318_103527.jp...
Every page is an .asp file.
Somebody's never been on low-end systems or stuck without a working video driver and can be happy most wikis work through TUI
If it's emulated than the benchmark is completely useless
Could super-sized heat pumps make gas boilers extinct?
Andrij Melnyk[1] is Ukraine's Ambassador to Germany.

Additional clarification by Dmytro Kuleba[2], MFA of Ukraine:

> Some want to live in a simple world where Putin is solely responsible for the war. The reality is that someone actually drops bombs on Ukrainian cities, shoots evacuees, forms ‘Zs’, backs Putin in surveys. Like in 1930s, they bear responsibility, even if poisoned by propaganda.

JFTR, I'm Ukrainian living in Ukraine. Here is my statement for HN:[0]

+ Verified Ways to Help Ukraine - https://euromaidanpress.com/2022/02/27/verified-ways-to-help...

+ My Patreon - https://patreon.com/app4soft

[0] https://news.ycombinator.com/item?id=30395897

[1] https://twitter.com/MelnykAndrij/status/1504721165406855180

[2] https://twitter.com/DmytroKuleba/status/1504730359107313692
Modern firefox is called librewolf or waterfox.

It respects privacy and works quite well (Actually much better than chrome based browser on my machine).

Mozilla management seems to be the issue, not firefox itself.
Credit cards are not popular in many parts of the world and many people don't have one. So only accepting CC is a bit stupid.
Great to see as much thought is put in infrastructure as in the improved cryptographic logic. They removed the /dev/urandom and the virtual machine cloned entropy that cause unsafe randomness.

Alongside BLAKE2 algorithmic improvements, we also get safer infrastructure. Very cool!
Presumably because it's a real life workload that is more relevant to consumers and easier to understand.
nice one, I'm sure there's a grammatical name for that, maybe in Truss

"She's raining" - "Who is?" - "Mother Nature"
Yes! I don't lock my hands on the home keys, so roaming around the keyboard isn't a carpal tunnel nightmare as some make out. I just move my whole arm a bit.

I rest my hands on the laptop's left and right edges, not on the home keys... and no I don't "hunt and peck", I touch-type at 90wpm. But I love function keys, give me more function keys! I dream of the Hyper7 [1]

[1] http://xahlee.info/kbd/hyper_7_keyboard.html
What does that really mean at this point? A big part of what made integrated cards suck so much is how they had to share memory with the CPU and with a unified memory SiP design that doesn't seem like a problem. Plus the M1 Ultra has 114 billion transistors whereas the 3090 is 28 billion. Even if the M1 Ultra is only using a 1/4 for the GPU that's still the same number of transistors. Even a 6th is still huge.

If Apple wants people to take their claims seriously and if weak engine support for Metal and Rosetta support is a problem they should pay someone to port a popular graphics intensively game properly. Of course it works in their favor not to because fans can point to it and say we'll it's just not optimized for it! Like we all did back in the PPC days until they admitted how crap those chips were when switching to Intel.
Looks like a Kei truck/bus/step van

https://en.wikipedia.org/wiki/Kei_truck
I agree, but that is still something we need to take into account when comparing the hardware. Imagine if Arm Windows gets popular and it somehow has great drivers for this GPU (unlikely, but humor me here). Then the actual power of the hardware would be a lot more relevant for gaming related benchmarks.
MySQL been rock solid for us, handling a million+ queries per hour on a fairly large database, running continually for over 10 years (other than occasional updates), but we're not using any advanced features, just run of the mill relational db with some full text searching. The tooling (phpmyadmin, percona xtrabackup) and knowledge available online are also a big plus.
Well one was in Iraq and the other is in Ukraine.
> and I'm not sure what we're supposed to learn from it.

Commit your dependencies and be lazy to keep them up to date, but scan for vulnerabilities. It's far less likely you'd be hit with a 0-day attack than a broad attack (or bug) like this one.
You have to remember that especially at the start, a lot of people were lied to. Even people who became maximally skeptical later on often started out believing that masks were essential, lockdowns worked, etc. They only realized these things weren't true as they discovered the source data and analyses out of it from outside the legacy media.

So there's a strong date aspect to this.

Still, it's probably a pretty good signal for future employers who are looking for smart independent thinkers. If you were quitting your job for this reason in April 2020 maybe it doesn't mean much. If you were doing it in April 2021 then that means you will blindly accept and even enforce absolute nonsense if phrased in techno-babblish ways, and are quite likely to engage in left wing activism on company time to boot. These are not qualities smart employers will be seeking, but it's very hard to figure out whether someone is like this during interview. If you ask why they quit their last job and they say "not enough COVID countermeasures" and the date was late enough in the pandemic, that's a good sign to pass on them.