skysight-inc/HackerNews huggingface dataset:
> I sure hope your children grow up to not use a persons skin colour as an insult.

Heh I didn't know it was racist. From my PoV it is an accurate assessment though, so I'll use the term "alt-right trailer trash" instead (second part alternative term by Wikipedia [1])

> A bunch of comments here have expressed the suspicion that this might be partly caused by the bias against "typical boy behaviour" resulting in a feeling of inferiority, making me wonder how much of that statistical discrepancy is caused by failed attempts at fixing it.

Except the statistic that men are more likely to commit crime isn't a recent development whereas the bias against "typical boy behaviour" (left undefined) is supposedly recent.

[1] https://en.wikipedia.org/wiki/White_trash
When I was working in academia as a researcher it was all EU or UK Government funding and those incentives were just as misaligned.
Emigration from the developing countries (assuming you can make it) is always a positive gradient. It is not just the salary (which might not be what you’d think, considering the cost of living), but also networking, opportunities, available career paths, etc. Of course everybody wants to emigrate from the less fortunate places.
It seems that the boundaries of what a unit test should cover have never been clearly defined. In my opinion, unit testing should only cover logic that does not have side effects (like writing to disk or communicating over a network). If you want to test external side effects, you should write functional or integration tests for them.
Technical SEO Consultant
8GB is still quite good for me. For container stuff there are servers.
Maybe HN needs the docker VMs however I have yet to see a single laptop which doesn't atleast run 3 electon apps and 10-20 tabs in a browser.
I'd say the IStockService with 15 methods and 10 dependencies are not a .net thing but rather <enterprizey-domain-driven-design-all-the-things-coolaid> thing. I've seen it in more than one shop and it totally makes sense why it comes into being.

DI just hides the problem because such a class is now only 500 lines long instead of 2000 lines, so for some people that is acceptable (not for me though). You don't see any lifecycle code in your classes anymore since the DI container manages it for them.

Remember it is typical to see a business project with 300 classes/tables if the project is about 5 years old and never seen a major refactor/rewrite, and each of those classes gets manipulated in some form from an orchestration point (xManager class or xService class), which in turn might depend on each other or have 10 inner dependencies. To keep things "simple" most guys would just add another method to an existing service where it seems to make the most sense.

I argue against that cause the services become heavier and heavier over time and can do allll sorts of things after 5 years (aka IStockService can now check stock, send email notification, generate invoice, save pdf to disk etc). So I've come to the conclusion its better to have more folders/files to contain handlers, and each handler only has one Execute/Process method, and it's constructor declaring only the minimum amount of dependencies to do it's work. It also encourages ALL your services to do only one thing: you know and can trust that IPdfDiskPersistor only does one thing and doesn't have other weird side effects (like trying to send an email).

If all this is really not clean enough, then maybe an ActorModel framework like Orleans Framework might be better suited, but I haven't been able to convince anyone at work to use it instead of DDD (they are slightly at odds with each other).

Hope that answers some of your questions. If other are reading this, please think twice before you go down the DDD path - it is expensive both in code and time and can easily spiral into a monster (but also well worth it if a good developer have stewardship of it in the long term - keyword being stewardship). Unfortunately teams with high turnover is basically doomed to have a messy/failed project.
A few “superspreader” locations account for a majority of Covid-19 infections
for those impatient like me (aaargh!):

> Darwin was proposing that life began, not in the open ocean, but in a smaller body of water on land, which was rich in chemicals
Walmart ends contract with robotics company Bossa Nova
seteuid(uid) if you want to revert later.
In case someone else is wondering what this comment is referring to, it's apparently this staged video that was part of the Apple announcement: https://youtu.be/XRb_VAp_6B0?t=519
Financial Data – Reengineered with Finage
I don't think so. He is just generally offensive.

I use the classic and correct definition of racism that associates attributes to racial groups, or more precisely ethnicities and adds a value judgement to that. You are a racist if you think one ethnicity is intrinsically superior to others.

I don't think Trump has that belief, it is also improbable for his character in my opinion.
One doesn't even need to be a developer to fill up 8GB with just a browser, Teams and Slack in the background (or any other Electron apps of their employer's choice).
> the offending function will be duly punished. How? Simple: it will be deleted from your source code.

It's an esolang.
Kind of off-topic, but do you know why they call drivers "firmware"? I thought "firmware" was the code loaded internally in the hardware, and "driver" was the software in the OS that interacted with it (to "drive" it to do what it needs)? This confused me for a long time—I used to think "I've already updated all the firmware on all of my laptop's components, so I don't need extra bundled firmware" at some point, until I realized that's not what they talked about at all. Any idea why they call their drivers "firmware"? I feel like I might not be the only person who's been misled by this in the past.
It's NewsCorp that hates Google.
Mysterious Bugs Used to Hack iPhones and Androids and No One Will Talk About It
There is more mature ClickHouse database [1]. This is column-based OLAP database, which provides outstanding query performance (it can scan billions of rows per second per CPU core) and outstanding on-disk data compression (up to 100x if proper table configs are used). ClickHouse also scales horizontally to multiple nodes. Comparing to QuestDB, ClickHouse consistently shows high performance on a wide range of query types from production. It also provides many SQL extensions optimized for analytical workloads.

BTW, VictoriaMetrics [2] is a time series database built on top of ClickHouse architecture ideas [3], so it inherits high performance and scalability from ClickHouse, while providing simpler configuration and operation for typical production time series workloads.

[1] https://clickhouse.tech/

[2] https://victoriametrics.com/

[3] https://valyala.medium.com/how-victoriametrics-makes-instant...
I'm using a 16gb MacBook Pro, developing in a mix of Scala, JavaScript, and Python projects in Intellij, with a handful of Docker containers running in the background. For the most part it is reasonable.

I have gotten OOMs when working on the Scala project though, which to me is one more reason not to use Scala.
Unix ASCII Games
TL;DR champion. Thanks.
so, on that topic:

- most test frameworks use unittests to test themselves.

- tests need to have value. the dev/team/organization needs to come up with the sensible measure of value that guides poeople what to test and how to test it.
The only reason ifixit sells its own tools is because Apple decided to invent a non standard screw over a decade ago. One that is functionally the same as every screw but required a screwdriver that could not be purchased off the shelf at the time.
Getting Started with PromQL
In Go, I test my log output easily: my logger instance’s output is set to a buffer, call the function under test, assert log contents. If another system depends on it, it gets tested. Our acceptance level tests operate largely on logs.
Yeah I guess you are right. I have heard that he pushes teams to work ungodly hours but I don't work for Apple and I don't know Cook, so yes it was unfair.
> What bothers me is rather Tim Cook and his super coordinated and carefully planned movements, camera angles, facial expressions, etc

I swear every presentation he spends a greater and greater portion of his speaking time doing prayer hands.
Oops, you're right, I was talking about parallelism, not just concurrency. Thanks for the correction.

> Parallelism is achieved using multiprocessing.

As I said in my previous comment (but used the wrong term), threads are a perfectly reasonable way of getting parallelism in Python, so long so long your application uses C-based libraries like numpy (or even some built-in modules like zipfile). In my experience, the vast majority of Python programs that might need parallelism fall into that category (or are IO bound) anyway.
Not my PhD. We were explicitly told by a "motivational" speaker about how no-one would care about what we wrote, and we were basically just going through the motions and practicing "real" research.

The general impression I got from the higher-ups was that the speaker was right.
Cost of masters degree, living cost in expensive city, lost wages... It is expensive!

You do not have to be member of academia to interact with other researches.

》This seems pretty unfunded. Unless you mean most people who have already done a PhD.

My experience is from astronomy and cryptography. You can make good contribution without being part of academia. Data are freely available on internet. Also code.
No surprises here

https://www.prisonlegalnews.org/news/2015/aug/31/british-ban...

https://www.google.com/amp/s/amp.theguardian.com/business/20...

https://forensicnews.net/2020/01/03/trump-deutsche-bank-loan...

https://www.occrp.org/en/the-fincen-files/global-banks-defy-...
I think that the future of computer customization is in virtualization. Instead of having a single very expensive machine to upgrade, we just go grab 30 servers from a bulk seller and use something like Xen or Proxmox to use them all as a single machine with 1 virtual CPU, 1 virtual disk and 1 virtual network interface. Got another computer? Just add it to the pool. So while computers are getting harder to disassemble, it's also getting easier to pool them together to share compute, network and storage.
Best thing I did when I started my PhD was heavily vet a PhD supervisor in advance, using connections established through undergrad research.

Yes, choose a school with a good name, but Dave yourself some pain and arrange an advisor before you start your program!
I’ve been running the beta since day 1, and have to say I’m impressed not only with the new UI, but also many of the OS improvements. Not saying you should upgrade if you are worried about things breaking, but when you do, it will be a breath of fresh air!
--permissive-security is the setting that you want. You are then able to enroll hashes of unsigned kernels with kmutil.
In a crude sense, more career options swing the relationship in favor of the employees vs employers, so it can be used as a guideline for whether a career will be rewarding and fairly compensated.

I would argue people in academics are on average harder workers than other fields, so overall they have it a bit tougher given all the work they put in. There are successes in every field, I am just making some vast generalizations for our discussion :-)
I think the storage size is more important in that
Reverse-engineer A No-code Website Builder
I like the way the author says PAL/NTSC video triggering is obsolete, when it's used every day for timing purposes in a broadcast facility.
Micron announces new 3D NAND process–denser, faster, less expensive
I hear you. I guess they are making extra effort these days to try to gain market share. I mean in terms or revenue and profits they've already won, but it's always in the nature of a company to want more, keep expanding, keep growing.
Newly Passed Right-to-Repair Law Will Fundamentally Change Tesla Repair
Of course it is possible to use almost any computer for work. That doesn't change the type of users that the particular model is designed for though.
The vendors, who also design phones are not optimizing vertically, as you mentioned.
Just to add to the usual arguments against this, please take a look at this article

https://en.wikipedia.org/wiki/Abiogenesis

especially the "Primordial origin of biomolecules" section

You may also enjoy reading about the PAH world hypothesis

https://en.wikipedia.org/wiki/PAH_world_hypothesis
Recap After E-Radix Token Sale: Radix to Transform the Defi Sector
You might enjoy a language with refinement types. I know Scala has a library for this called refined, which I believe is a port from Haskell.

In summary it gives you compile time feedback on types with refinements, e.g. positive ints, negative ints, even ints, etc, and can be based on custom predicates.
In principle there’s no reason why you can’t profile the code ahead of time with a representative benchmark of the application and perform most of the important optimizations that a JIT performs, and then save that generated code. In fact V8’s snapshot mechanism effectively does that with the Chromium APIs.

However you’re losing one of the significant benefits of these languages (that is pretty much crucial in the JS case): the ability for them to be written independently of the particular runtime and architecture of the execution environment. Code generated for JS (just as an example) has to be intimately aware of the runtime’s native bindings and GC implementation to be as efficient as it is in modern browser engines. You would also lose the ability to software sandbox untrusted code. Basically, the JIT platform for which exploits are the most valuable by a large margin wouldn’t be able to use this solution, and the other JIT platforms aren’t often used in ways that make this kind of issue relevant in practice.
> No, because that is nonsense. Fingerprints are something different to both usernames and passwords.

In The Netherlands you can be forced to give your fingerprint to unlock your smartphone. You cannot be forced to unlock your smartphone via PIN, or share your password.

> For example you can change both passwords and usernames but you can't change a fingerprint.

Yes, you can. Your fingerprint can be unreadable under circumstances. With sandpaper you can remove it. Certain (physical) labour can damage it. Both of these are temporary. You also, supposedly, have 10 fingers, so in that regard you can switch (e.g. use a less common one, or one which isn't temporarily damaged). Other day I accidentally used a razor to damage my index finger, used an adhesive bandage, and had to add a different finger to my smartphone. I wonder if you can use your toe.

> Also fingerprints are more difficult to discover than usernames.

Inaccurate, and untrue. They're all over the place. This is Bob's phone. I wonder where Bob's fingerprint might be. Might it be... on the phone? "Oh, what a surprise, I didn't expect that!", the forensic analyst exclaimed.

I would argue the following: a PIN or fingerprint should not be used to protect serious data. One could, for example, perfectly fine use a PIN on their smartphone, for authorization of unimportant data. OSes are not yet able to make this distinction though. Moreover, any time you use a password in a public place which isn't one time, a camera can copy the data.

Slight tangent: other day I heard about a creep who stood on the bottom of a stairs, to make pictures below skirts of women. These pictures were then distributed between other creeps. I immediately imagined that being my daughter, and that thought scares the shit out of me. Given the advancements of things like cameras we need to think different with regards to security and privacy.
I've been using Linux for just under 3 years now and I had no idea this was a thing. I'm amazed at new things I learn every day. Thanks a lot!
It was about his six figure...are the others paid from that too? ;)
Images of Sexual Abuse Are Fueling AI Porn
I've seen a guy peddle shoes become an instagram star and go on to put said shoes in boutiques.

Moral of the story, unless you are born wealthy you have to make your own luck.
AltStore, the easiest way to sideload apps and jailbreak your iPhone
There is also VictoriaMetrics open source alternative with similar architecture and comparable performance - see https://github.com/VictoriaMetrics/VictoriaMetrics/
Not a lawyer or an expert, but I did go through due-diligence once.

One of the hard parts of the process, from the point of view of the company, is gathering all required documents/materials. I'm guessing a bunch of that work can be "reused", assuming they kept all the documents organized, which they would've for due-dilligence.
What I'm saying is that just because the iPad Pro is good at video encoding it doesn't mean that it is capable of running a windowed OS with real multitasking. For that you need more RAM. The iPad is built for a specific workflow where you use one or two apps at a time, laptops are designed for a workflow that involves more multitasking.

What Apple appears to have done is transpose the hardware from iPad to Mac without thinking about the different requirements of each. There is a reason that RAM is not part of the package on laptop CPUs. This might work for casual users but people spending $$$ on a "pro" computer will wise up pretty fast.
Apple Silicon M1 Macs do not support eGPUs
Thanks for clarifying

> prove by choosing the corect set of metrics

That means bad managers "proving" that their product is good, or good managers/execs showing that the product doesn't work so well?
HE DOES IT FOR FREE
I don't get how those two things are related. Besides people were hating on Musks public speaking skills before that whole debacle.
Measure the climate impact of your business
Deutsche Bank: Tax home workers 'to help pay those who cannot'
I don't think you ever get a good answer to that because the answer is ambiguous. Asking why "Democrats" or "Republicans" do anything is asking about a straw man. Many individual voters will have a nuanced opinion about all of those questions. The way a lot of the questions are phrased presupposes Republicans don't care about those things, which I suspect is probably wrong for most.

I think many of those who identify as "Republican" or "Democrat" don't examine most of those points in any detail at all and just simply vote down the ticket. Their opinions are probably not going to reveal any useful information.

For the rest, my guess is its probably a fundamental disagreement about what government should be responsible for. Voting for the government to further some cause is inhertanly voting for parts of it's implementation. I think my libertarian bias is leaking through.
> Some OSes (OpenBSD) will do randomization based on object files and sections, which you can do things with like place each function in a different section and relink. This would require an exploit to leak addresses, which is a better situation I guess; the downside is that this adds complexity and is fundamentally incompatible with certain operating systems (Darwin).

Doesn’t Darwin’s linking model effectively do this separation (though I don’t know about randomization) unconditionally, with the whole “atom” thing? IME the linker does tree shaking effectively without per-function sections, and I have trouble seeing how that would work otherwise.
I like to learn new things. I'm tired of being expected to know everything - they expect me to be a full stack devops for 2 stacks simultaneously. My main problem is that I became an expert in a FileNet based system and later Neoxam based system, which didn't give me many options. They outsourced the FileNet job and they cut the budget in half on the FileNet one. At least now I'm in some AWS tech.
I can't talk about the US, but in the UK there's very good reason for disillusionment. Since 1990 there are 5x as many people getting university degrees, and the rate at which those students get 1st class degrees has increased by 4x.

That is to say, the number of people able to get degrees has sky rocketed, and the classification of their degrees has also sky rocketed over the past 30 years.

So we're left with the obvious question: Do we suddenly have 20x as many students capable of getting a first class degree when nothing in the rest of our data suggests a sudden rise in education standards or economic improvement?

Because your first class degree at a UK university is worht 1/20th of what a first class degree at a UK university was in 1990.
Not confrontational at all. In short, it's taken me years to be able to do this. Last year we finally got our engineering organization to a point where I no longer have any direct reports. Instead, everyone rolls up to our VP of engineering. In most mid-sized startups (like ours), the VP of engineering is the person that manages most of the process and generally makes sure the trains run on time.

My view of the CTO role is that it's focused on more long term efforts or the product generally (in more technical companies). So that's what I've been doing for much of this year. With the caveat that I'm also the founder and on the board so there is still about 10 hours a week of executive meetings/management, reviewing of other people's writing & product efforts and working with our biggest customers and prospects.

All that being said, I'm not just working on this because it's what I want to do and it's what excites me (which it does). I also think it's my highest point of leverage within the company. Very few people have the same view and in depth experience in this problem domain. Most of the people I know of that do are either founding and running competitive offerings or they're working on similar projects at Google, AWS, or Azure and getting paid significantly more than we can afford to pay a single engineer.

I think this is one of our most important efforts right now and the best way I know to make it successful is to be working on it in depth. I'm not the best programmer on the team or the smartest, but I have some depth of experience that gives me a clear vision on what it should be able to do and what tradeoffs we should be making.

My role on this effort is basically as the product person and the tech lead. In this case the tech lead isn't the manager of people on the team. We try to have a multiple paths for advancement in engineering and one of them tech focused individual contributor.

Of course, I view this project as necessary, but not sufficient for our overall success. That's why most of our engineering team is working on our legacy products and the continued forward development of the overall platform.
I think your original understanding is correct - what we're calling "drivers" are run by the host OS and CPU to interact with a peripheral over PCI, USB, SPI, OWI, whatever. And "firmware" is some special software required by the device itself to run (could be some ARM or MIPS binary or whatever arch is used by CPU(s) on the device). I guess that some peripherals have firmware on non-volatile storage while others require it provided by the host when they're initialized.

So the "firmware" I required for my Thinkpad's wifi to work (and which was included in that Debian nonfree image) is this: https://wiki.debian.org/iwlwifi

update: actually on that Debian wiki there's a page called "Firmware" which explains things well https://wiki.debian.org/Firmware
The "MADE IN ANGER" on the silkscreen cracks me up every time I see it. The juxtaposition of a silly message w/ my experience that only "SERIOUS TEXT" goes on PCB silkscreens makes for total hilarity to me.
I thought numpy was pronounced like it rhymes with bumpy for a year or so.
I doubt this. Apple may end up with a massive competitive advantage over other laptops. I doubt Microsoft and PC OEMs are just going to stand on the sideline and watch Apple eat their lunch.

I would expect there to be an arms race on... ARM. And maybe MS suddenly stops treating Windows on ARM as a hobby project.
What is a FIRE-related forum ( and an example if possible ) ?