jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
> consumer protection or corporate protection

Pick one. Couldn't have said it better. This is what people ALWAYS have to remember. And as a reminder, the corporation will always take care of the corporation.
I haven't exactly dug into the codebase, but "stripped down Chromium for the UI" could very well mean CEF, which is widely-used by a lot of things (commercial and otherwise) and directly supported by Google. However, whether that's more lightweight than Electron is debatable.

If that concerns you, though (or if the author really did outright fork Chromium), it looks like it runs in an ordinary browser, too (e.g. via postwoman.io or localhost:3000).
Some of the highlighted error crates will include a full backtrace if you are using nightly rust. Not sure when it will hit stable.
The best way I've seen it described is in the Coddling of the American Mind [1] which basically says that trigger warnings aren't a treatment for PTSD, they are a symptom.

1 https://www.thecoddling.com/
>I fear the goalposts have moved from "the problem with OOP" to "the problem with mutability". These are distinct concepts.

No they ARE not. For OOP to work you have to have objects be mute-able. The modern definition of OOP are nodes that communicate with each other and change each others state.

The minute you get rid of mute-ability is the minute you are doing functional programming.

>One can absolutely practice OOP with immutability (looking at Scala here).

Scala is a multi-paradigm language. Also scala is not always immutable. The objects in scala can mutate.

>Similarly, OOP doesn't need to be written imperatively.

It does if you want the properties of an object to change. That is the dichotomy of OOP and FP otherwise there is no dichotomy and no point for there to exist vocabulary to separate the two concepts.

>Are you suggesting `sorted_people = people.sort()` isn't OOP?

If I remove the engine from my car and roll it down a hill while in the drivers seat am I still driving the car? Yes. Technically I am. But key feature of the engine moving the car is missing. You can call people.sort() OOP you can also call it not OOP because it is missing the key feature of self modification.

>You are building your own concept of OOP to argue against, not the one that exists in reality.

lol lets look at the definition. https://en.wikipedia.org/wiki/Object-oriented_programming

I directly quote from the site above:

"Object-oriented programming (OOP) is a programming paradigm based on the concept of "objects", which can contain data, in the form of fields (often known as attributes or properties), and code, in the form of procedures (often known as methods). A feature of objects is an object's procedures that can access and often modify the data fields of the object with which they are associated (objects have a notion of "this" or "self"). In OOP, computer programs are designed by making them out of objects that interact with one another."

Key sentence above: "A feature of objects is an object's procedures that can access and often modify the data fields of the object with which they are associated"

The goal post was never moved. It was set by the Actual definition of OOP. I am explicitly including this feature to make sure that ALL we are dealing with is OOP and not some hybrid functional or OOP merger.

>(straw-man emoji)

This mechanism of turning macros into emojis doesn't work here on HN! Similar to your arguments.
And you think the position of "everything must be privately owned and a competitive market" is not an ideology? Internet infrastructure is a natural monopoly, and it makes a lot of sense for it to be publicly owned.
Yes, correct.

Killing a process and restarting it is /often/ better than context switching repeatedly, but not always. Pro: It puts the process into a known state. Con: It removes the opportunity for slow forward progress. In the case where the process has been designed to have fixed latency, then slow forward progress is roughly as scary as memory corruption -- something is horribly wrong and you don't know if you're observing a minor symptom of a major problem.

Balancing the pro/con there can be interesting, but the system level pro puts a pretty heavy thumb on the scales. In the intermediate approach, because there's no real pre-emption a whole class of race conditions can't exist. This can be pretty big for ease of system analysis.
It is actually built into the OS: +shift+4.
How would that work to model mutable closures?
During the evaluation of a Scheme lambda expression, the current environment needs to be captured somehow. Assuming the resulting value of the evaluated lambda expression is something like (Haskell pseudocode): (env, (Env -> [Value] -> Cont -> IO ()))
where 'env' is the captured environment. Further assuming this tuple is stored in the environment, how would you propagate a change to 'env' without it being an IORef and using writeIORef?
This is retarded. There, I said it.
I think he meant "Cowboy vs. Normal", as opposed to, erm, "Normal vs. NIV-addled incompetence".
> What prevents me?

Property taxes.
When there'll be drone delivery, you could imagine a service where you rent for example a hammer for one hour, when you need one, for a few cents it'd fly to your window, then you send it back.
Typing a the message-passing part of a language like Erlang is very much an open research problem. I spoke about this at length with the session type community. They are thinking about this, but it's at least a decade away.
>If the state pays then the companies are paying anyway

Yes, but it's better for the state to pay it so that because if companies pay maternity leaves completely, the cost is not distributed evenly.

>The continued existence of the species through childbirth is something that organizations should really factor into their budgets.

I disagree, that should be the responsibility of the state and individual families.

>Is not exactly a difficult cost to foresee as people have been doing it for quite a while now.

It's a cost that is easy to foresee if your company is large. If the company consists of 1-2 employees, the company can go bankrupt from the costs. I've talked to an entrepreneur whose company actually did go bankrupt from maternity leave costs.
I'd like to see the SQLite SQL statements, are there any links available?
Something to meditate on any time there is an "Appeal to Expert" - particularly on an issue that is forward looking.

Also, I love how he was so confident with regards to

While I could go into a long story here about the relative merits of the two designs, suffice it to say that among the people who actually design operating systems, the debate is essentially over.
Nice little article, but the common wisdom in "hobby" OS development is: if you want to write an operating system, do not write a bootloader.

The arcane details of initializing a x86 PC are not a good use of brain space or programming time (things like A20 line). The OP says he spent weeks writing this small snippet. There is some appeal in doing it "from the ground up" in Assembly but that's very slow and tiresome. And there's still the PC BIOS code blob running before your OS loads, so it's not like you're in control of the CPU right from the first instruction it executes.

It takes roughly the same amount of trouble as this article (or slightly less) to build a bootable ELF file using the Multiboot protocol, which you can boot to using qemu or bochs directly (e.g. qemu -kernel mykernel.elf) or on real hardware using GRUB.

There are lots of advantages to this: the bootloader will initialize the CPU for you and you'll enter directly into 32 bit protected mode, the state of the CPU will be in a well defined state. Additionally you can use the bootloader to set up a graphics mode and provide a physical memory address to the VRAM (this would require falling back to 16 bit mode for some BIOS interrupts and then back to 32 bit mode).

You'll also get a proper ELF binary file with all the section information (useful for setting up your page tables), and debugging symbols so you can debug your kernel in GDB which is a lot more productive than using the built-in monitor facilities of QEMU or Bochs. And you can actually use a linker so you don't have to put all your code in one file (you will need a linker script).

It also makes sense to boot to C code as soon as possible (Rust is another option, C++ too but it's a bit more trouble). I actually did write a small OS prototype in "raw" assembly (with interrupt handling and simple threading), but it wasn't very productive and I quickly reverted to writing C code instead and got a lot more done in less time.

You shouldn't need a lot of assembly code, only the early boot code (a few hundred lines), the interrupt handler entry point and trampoline code for booting the other cores of your CPU. In addition, there will be some inline assembly oneliners for accessing privileged instructions (like lgdt, etc).

Here's the beginnings of my hobby OS project from years ago. I made the mistake of using 64 bit long mode, which is a lot more work to get booted and not a very good use of time. Stick to 32 bit mode if you want to get things done.

https://github.com/rikusalminen/danjeros
I wonder how it compares to Intel's custom zlib implementation, and to a fast zlib compressor by IBM researchers.

http://www.intel.com/content/dam/www/public/us/en/documents/...

http://dx.doi.org/10.1109/DCC.2014.66
With humans at the helm of figuring out ways to allocate resources to such efforts, I'm not holding my breath for academia or industry.
I always think the best would be a bit of both. Having the option to go in a private room and do your work or work out in an open area with people where you can easily throw around ideas and what not.

But i've never had a problem in an open space. You don't wear headphones or a way to indicate to others to not disturb you? And surely you can see where some of the other things you talk about are good for you right? 'catered lunches, well ventilation/heat' etc. If you don't have to worry about those things that's less for you to worry about and you can focus on working! :)
I feel like that's almost impossible to do today especially with enterprise products (e.g. google selling ads to businesses). I think people now are accustomed to using products they've come across online and anything else is too foreign and strange.
"Clean Architecture" by Robert C. Martin.
> I felt largely the same way, but now our company has enough microservices that without something like k8s it's hard to actually sufficiently test anything well.

That feels like a self-inflicted wound that will now only get worse with k8s.
Thanks! Would it be wrong to say it's a slide show creator / viewer? Do you want to grow it into like a super simple Libre Office Impress (
https://www.libreoffice.org/discover/impress/) / PowerPoint ? Or is your personal family use-case the main purpose.

I don't fully understand the wiki like edit, but not sure I need to.

Might be nice to add an index page on the space-bar press, where you have thumbnails of each slide to quickly jump to specific image.
Elon Musk is laundering military and counterinsurgency technologies as consumer products. SpaceX exists because the ruling class needs always-available global satellite internet to power the new autonomous and conscience-free soldiers they are building. Tesla exists to amp up the surveillance and grid dependence of automobiles, and also to hopefully prevent a nationwide truckers' strike from bringing the economy to a halt by replacing drivers on the long haul routes with autonomous tech.

The "vision" thing is just the shiny object Musk dangles to distract you from what he's really doing.
mesmer | Senior Backend Engineer | REMOTE | Europe Time Zone +/- 4hours | Full-Time | https://www.mesmerhq.com/

We believe that everybody has the right to access mobile apps fully. We are building a fast solution to automatically create accessibility reports for app developers to make sure apps work as intended with devices' a11y features enabled.
If you like our mission and the idea of working in a friendly, open minded, multinational (France, Germany, Pakistan, USA), 100% remote environment keep on reading.

The foundation of our product is an automated app crawl to discover screens of customer's apps automatically. The other teams consume that and create reports based on what the crawl can find.
I am looking for someone to join my team as a backend engineer, preferably Java, in the crawl team.
The team you'd be working on is closely collaborating with a11y engineers and ML engineers to deliver a high quality a11y report every time the customer app changes.

If you have:
- A good track record of solving algorithmic problems
- Strong backend skills in Java, or the willingness to learn Java
- Worked with AWS in a SaaS context before
- Excellent English communication skills (we are 100% remote)

and as a big plus:
- Experience with building heuristic search algorithms in a bot/AI context
- Basic knowledge of machine learning capabilities and limitations
- Prior knowledge with Android or iOS development

Ping me for details :-)
Innovative or not, that's not is going to determine the success of this. There has to be the ability to generate mass market adoption with innovation which Facebook is really good at.
Hehe, that's so scary :) I'm busy sketching out something exactly like that at the instigation of my son (who is an avid gamer). I'm nowhere near realizing the vision but I've learned an awful lot just studying the problem from different angles. The key element seems to be 'who owns that data?'.
I don't think it would - what you implement might have more side channel attacks in, but if it's more of a PoC it shouldn't matter.

On the other hand, even if it did, FPGAs are quite cheap ($100-ish for a suitable one) and if you're a serious cryptographer you're almost certainly going to be based at a university or an agency of some kind which will be able to afford one (or have a whole bunch lying around).
I can completely see an team of international scientists coming to the US to investigate the origins of an outbreak.
one issue with node.js is that it is so early in the lifecycle of the product that there aren't a lot of 'clear winners' in the add-on modules department. it's hard to tell which will be maintained in the long term and which are just hobby projects created so that the developer could learn node.

i would guess that mongoose is your best bet because it was written by a commercial company that is using it in their commercial product (learnboost).

you've probably already considered this, but i would consider google app engine. no database configuration necessary and i watched a video from the 2009 google io conference the other day that showed how insanely easy is it to do things like social graphs and follower using their datastore (assuming each person has 5,000 or fewer friends -- a reasonable number for 99% of the companies out there).
If UPS is not looking over their shoulder, they should be.
Your solution is not correct. For example, if the counterfeit pile is initially measured with one coin and Delta is -1 (29 modulo 30), you set D1 to 1, but D2 will be 28, 29, or 30. You cannot determine Delta or the counterfeit pile with such values of D1 and D2 using your algorithm.

It's certainly not the case that D{1,2} <= 20 as your comments suggest, and you seem to realize this by checking for D1 >= 25. Also, you ignore the case of 20 < D1 < 25.

Note that Delta is strictly between -5 and 5, so it can't be equal to -5 or 5.

There is actually a really elegant solution to this problem. I'll send you an email so you can let me know if you'd like a hint.
When I was at MIT in the '80s the humanities faculty was similarly dedicated, although I remember one history seminar where I was the only student who could identify the French Revolution. Afterward the professor told me he would have seriously considered resigning if none of us had gotten it.

I suppose it goes without saying that I was the only really serious history student of the 5-7 in that class, which is a shame since he was such a good professor, starting the course by explaining historiography, how the omnipresence of death prior to modern medicine made such a difference in, well, everything, etc. etc., before we got down to the nitty gritty details of Renaissance Florance.

Anyway, as others have mentioned in this discussion, if you're serious, the value in these course is generally there for the taking (assuming of course your professor isn't entirely and uselessly PC, but it's your job to ensure that ahead of time).
If he could use it, tech that is useful to him would be developed, allowing him greater connectivity at lower costs. Say he owns a ranch and wants to have fully autonomous ranching hardware that benefit from connectivity for example...
I agree wholeheartedly- found about the Underhanded C Contest through an HN thread and enjoyed reading through the submissions every year. Sadly it seems to have not been run since 2015.
I assume if you are using MSBuild you're building .net or otherwise using visual studio. If you want to build these projects with gradle or maven you still have to invoke MSBuild in my experience. It's not strictly necessary AFAIK, but you'd be giving up a lot of what visual studio offers you for little in return.

In general, if you aren't already using a JVM language, there is not a whole lot of reason to use maven or gradle. Pretty much every language has equivalent native build tooling that you should be using instead.

If you are using a JVM language, even for part of your build process, then both can be used as the primary build tool and invoke the build tooling of the other ecosystems as needed. This is most useful when you have a native component that you are using from the JVM.

I have in the past used gradle to build the native C++ components for apps, but in general it reached out to msbuild on windows, and make files on linux.

I've used gradle it to invoke npm commands to build the frontend component of a WAR java webapp.
Looks like it's RISC-V (SiFive FE310-G003 SoC). https://www.theregister.com/2020/11/19/bbc_doctor_who_sifive...
stories like this make me want to leave the US and move to Europe.
Cities with mass transit are still lacking compared to cities across the world. The NYC subway is a very different (and inferior IMO) experience than the London subway.
What company would simply hire you freelance once you're already full time? It sounds like a bizarre notion to me but admittedly I'm relatively green (6 years in industry) and have only worked a handful of gigs.
The JRE was mostly about the plugin (Applets) and Web Start. Those two are gone. Then its main features were the auto-update and the control panel. These are also gone.
I wouldnt use line count as a metric to judge how sensible an approach it is for learning how to get into graphics programming.

The OP already cited shaders as one avenue, and shaders are so so easy to get immediate results from; as opposed to making a small mistake in a path tracer and spending hours debugging why your screen just shows one colour.

Need to debug where youve gone wrong with a shader? Return float4(uv,0,1) and its working again.
Car accident rate doesn't grow exponentially, with doubling time measured in days.

With an infectious disease like this, what you want is to curb its ability to spread. That means disrupting the entire social network, because while the virus is most dangerous to the elderly, it spreads best through the young. Also lung damage, the fact that small chance of disability or death multiplied by whole country getting infected equals to more harm than inconveniencing everyone a bit and nipping the problem in the bud, yadda yadda. These are all tired points.

The main way UK (and US, and a chunk of EU) response was a "clown world" was pretending there's no problem until it was too late, and then doing too little, and then doing stupid things that nullified the effect of previous interventions.
The problem was, as usual, EU countries' nationalism and wealth disparity. Macron insisted that the EU not order more doses from Germany's Biontech than from French Sanofi. So far so usual, but the worst problem were the Eastern European countries - they insisted on also keeping AstraZeneca with their 1.78€ a dose on board because well they are poor and can't afford more.
In all these discussions we forget that science is “created” by humans and thus just as fallible as humans are.

“Trust in science or “because science” are just ways to shut down discussion or lines on inquiry that dare question the existing narrative.

Don’t believe me? Here’s an example.

Have you ever wondered, just hypothetically, if the Covid outbreak may have had any relation to the bio research lab located in Wuhan?

Well, you can’t wonder about that. If you do, being called a conspiracy theorist is the nicest thing anyone will say about you. If you think this is a good thing then you’ll be in for a rude awakening hen you happen to find yourself on the wrong side of the “scientific” debate.
There's already an outbreak of "fakes" by the simple technique of misleading editing:

https://www.independent.co.uk/news/uk/politics/corbyn-ira-vi...

https://www.mirror.co.uk/news/politics/tories-release-anothe...
I think this product, tesla cybertruck, is a good display of "function is form". Usually people preface "function over form" or "form over function". But in this case, the functionality of this truck solves the reason to have a truck REALLY WELL.
The form of the truck comes from being a very practical, efficient use of a truck.

Form has been getting seeping into "aesthetics", which is good and all, but is that really where it should go? Sure, it's nice to look at something pretty, but why not have some cases where form fits the functionality perfectly.

I think this is a good implementation of mending the two practices into one harmonious product where function and form balances each other out.

Function: strong outer body, powerful, and everything serves a purpose.

Form: tesla's well-known low-drag design, probs makes manufacturing simpler (not easier per say, but simpler), etc.

I can't think of all the reasonings of functions and forms, but I just think this cybertruck would be super useful to have in particular blue-collar jobs.
What if they just sold their low-margin-yet-profitable businesses instead of killing them?

There are several tech PE firms that specialize in that niche. KKR bought Corel (of WordPerfect fame) recently.

I'm also confident someone at Google already had this obvious idea. Any ex-googlers know why they chose not to / cannot do this?
> I suspect people are underestimating how much work goes into maintaining Python 3.

And I suspect people are vastly overestimating it. The latest additions to Python look like they were made by a committee. It is the committee style work that eats up all the man hours. The programming itself is rather simple.

> Python 3 has too many users at this point.

Most were dragged along by force. Many people are happy that 2.x versions like Tauthon are still maintained. To all projects I'm personally involved in (mainly scientific) python 3 offers literally ZERO advantages and only causes additional costs.

> I don't see them keeping up.
> How do you decide what gets backported? New features will introduce incompatibility.

You gave your own answer. All features that don't introduce incompatibility are going to be backported. In that regard "keeping up" is also not the top priority.
I reported an issue to the LinkedIn competitor https://about.me two years ago where signing in with my Google credentials gives me access to some the account of some random other person with a similar name to me. I think that during registration, I attempted to register about.me/johnradio (except it's not "johnradio"), but he was already using it, and then the bug occurred that gave me this access.

I randomly check every 6 months or so and yep, still not fixed.