skysight-inc/HackerNews huggingface dataset:
Really nice write up! It would have been nice to see more on how you handled the display, on my emulator journey the two big "i have no idea how to solve this" problems I had were 1) synchronising cpu/gpu/sound (and I settled on the exact method you use, 'catching up'), and 2) writing the framebuffer to the screen. The resources I've used always seem to skip over it, so I assume it's obvious, but it isn't to me.
I've been reading, "The Man on the Donkey" over the last few months or so (so much for the 50 books...). It's a historical novel set in C16 England written in the 1950s. It's an immersive experience using language and descriptions of custom and habit to create a strong sense of the time. Many of the aspects of life mentioned in the article (mattresses of straw, shared beds and rush lights) are there but interestingly, not once have I read a mention of the two sleeps.

The author is a historian but either wasn't aware of the practice or didn't feel it worth including. The richness with which she describes other aspects of C16 life is so great though that I find it hard to believe she would not have known if it were a well understood practice. Perhaps sleep is an example of a custom that it is hard to think about doing differently from the way we do and was just missed. But it seems strange that such a big aspect of life isn’t widely understood by historians.
No, they would not need to be stored in the images. They are deployed as part of provisioning package according to the post. If they were part of the OS image, they would have to update the image anytime a new customer is added, which would be far less optimal than having Ansible or whatever push changes. There is no law in Sweden that requires logs, and the point of a VPN provider is to not store logs. If your VPN provider is keeping logs of your connections then you should look for a new provider.
First, a bit of off-topic, but do you know we keep #open62541 open for you on Libera.Chat? :D

I think the biggest issue I encountered with OPC-UA is the rather random nature of implementations from vendors.

For example, I had S7-1500 PLC deployed on a project, and we used OPC-UA to talk to it as well as to expose internals of the program that was talking to it.

We also had WinCC HMI, and while it could do basic read-write access to OPC-UA, we couldn't attempt to go for Method Calls, which would have considerably simplified a bunch of things for us.

Meanwhile, FreeOPC-UA (python) turned out to be a bit buggy ;)

It's a quite nice system, and I really like the object-oriented nature of it and support for modeling instead of random soup of PLC tags that appears to be the norm. Standard industry models for various components help extra there.

Currently I'm looking into implementing a wrapper around open62541 for Common Lisp and Ada, and possibly a CORBA & DDS translator for it. Originally I missed PLC4X completely, and we needed to talk to S7-1500 as soon as possible and kinda got stuck with Python, now I wish I could do it in Lisp or Ada and get it done probably much faster :)
No no no, it's circling the top of the "hill".
It isn't just you, but it should be. The privacy implications are potentially disturbing and need to be address (I have no idea how). However there are also a lot of real uses for this that will make your life better. Some of those are things we haven't thought of yet.
JavaScript-DOS: The best API for running DOS programs in browser
You forgot to say why it had to be scrapped ?
I always wondered why no one is doing syntax (or, semantical) coloring/highlighting for stuff like mathematics or sheet music. It could even help with simple plain text.

The reason is probably that "it's always been like that", just like keyboard layouts. Though one could argue that coloring would be not be very disruptive and backwards-compatible, so it wouldn't hurt traditional reading much.
DOS Zone: Ultimate collection of online dos games
Ask HN: Do you have to use LinkedIn to get hired?
I'm seeing a lot of "submit your application" web forms with a required linked-in field. Would it be absolute folly to attempt to get hired without using linked-in? What are your experiences?
A friend of mine lives in a block of apartments and, during first lockdown, there was a disturbance in one of the flats below. It turned out the single resident had her family staying over at the weekend (2 adults and 3 kids) and they had travelled 250 miles to be there.

When we complained about the noise we were threatened with violence and told in no uncertain terms where to go. This was reported to the police and they did nothing.

Let's not pretend that we were living in a Police state at the the time. Yes, I would expect better from the PM and his ministers but the rules were barely enforced anywhere, save your can of pop example and few other isolated cases.
What being a part of standard library makes the library better?
So why does Tesla not release the actual data?

That would likely convince the DMV, and opponents. Just think of the win in terms of PR.
Inflation rises 7% over the last year
I like how you're basically like "he didn't mean it like that" and then go on to not support your claim at all lmao.

I'd be a supporter of vaccines as well if they were a new scientific technology, not corrupted by big pharma for profit / to make infinite customers. The COVID shots are not a vaccine either it's why we're still in this mess. If you still deny that reality after all that has happened and continues to happen then no one can help you.

Let's see here. YOU pay for the vaccine with YOUR tax dollars, every shot administered also is paid with YOUR tax dollars, marketing paid with YOUR tax dollars, mandates paid with YOUR tax dollars. And we have the most infections / deaths ever occuring around the world.

Accept that you're being scammed and you might start to understand why the tree of liberty needs the blood of tyrants.
I learned Rust only to abandon it afterwards. It's not worth the effort, especially if you already know Ada and various memory-managed languages like CommonLisp and Go. Although I'm sure sure these exist, I've never written a program that would benefit from not having a garbage collector.
This piece is quintessential HN stuff: LISP, minimalist, high-impact code, extreme debugging, and a whiff of retro-computing. So much awesome.
I can't read all of those because of stupid geo restrictions, but it looks like most of those were "advice" rather than law.

This was most certainly against the actual law that the PM himself brought in.
Well, the idea is that you only wire trunks, wifi APs, and SANs w/ 10GbE, and light a select few wall jacks that matter.

~$120 per port (assuming 309s, the recommended interleaved spacing, and amortizing the switch cost over # ports) isn't very expensive if (a) you need the capability & (b) already have copper in the walls.

Drywall finishing along will run you that much. :) But yeah, new builds should definitely be fiber.
Oh yes, because local telecommunication companies delivering SMS using archaic, non-end-to-end encrypted protocols are TOTALLY more resilient to government censorship than Telegram :-P

Look, when it comes to SMS and craigslist-style things etc. I bet they will want to just keep them up so they can act as a dragnet for the fools who use them to organize criminal activity.
Seems like the total addressable market would be far too small to make for an interesting startup.
Move to another country. You conviction history probably won't follow you there.
Sorry, I don't understand the implication here.
Hi, author here. Yeah, I thought the same and tried that too, but it failed due to the same reason mentioned in the "Problem with the definition using variants" section. Namely, the return value type of `read_arg` would not be uniquely determinable. We CAN define separate `read_arg8` for `read_arg16` for the `arg8` and `arg16` respectively, but I thought the GADT solution was more clean.
List of Slack App developers use
With iMessage, you must commit to doing business with one company as long as you use the service. That is vendor lock-in and is what Google is complaining about. With RCS, there is no one company that you must do business with to continue using they service.
I don't believe that. There are many ways to express an opinion about Linux software, e.g. by writing about it, or by rejecting some software, or by adopting some different software.

I don't use systemd on my systems, I prefer sysvinit and openrc, and I sometimes express my arguments for why. Why would I have to write my own init system just to express my opinion that for some usecases, other software is better than systemd?
I don't think the article supports that position. Every new tech was evaluated by them based on the experience of people within their community who were approved early adopters. I didn't see any argument of "look what that tech is doing to the world" as factoring into a decision.

Maybe I misread your point, but it seems like you're saying they're free loading off of the rest of society in some fundamentally greater way than other groups. I just don't see that.
You don't get to redefine "monopoly" just because you don't like the way a minority player is doing business.

ALL markets have limited choices, and yeah, it'd be nice if MSFT hadn't completely failed any time they tried to do mobile, but healthy competition exists in the mobile space now between Android and iOS. There is no applicable antitrust regulation here.
> During the interview the candidates heart rate increased during questions on their reasons for leaving the last position

That discussion is illegal under current laws. (you cannot use a lie detector in interviews) Well at least in the US, check your local laws.
Oh you may be right..the article just dropped that number with no evidence or explanation, who knows..
Does the discriminator model translate the images into an embedding space of it's own? Could such a space be used to generate images themselves?
You don't need to find a job that wants ocaml, just a job that recognizes what it means that you've written it.
An emulator is still on my "bucket list as an engineer." I feel like it's a hurdle I still haven't crossed and I'm reasonably certain I could make one.

I have some free time this weekend...I might take this repo and port it over to clojure to get the hang of things.
As one who inserted numerous test instrumention points through out SpiderMonkey JS executable, I can vouch for the extreme nastiness build procedure made by and of Modzilla Firefox build team, not only code-wise but interaction-wise.

It’s a bit easier nowadays but still in no way portable for suitable embedded use.
> Ideal language has every function perfectly designed in the stdlib

That way of thinking only makes sense if nothing ever changes. You even bring PHP as a good example here of how this fails fast. The world has changed greatly since 2003. The Python standard library carries three XML implementations and an outdated HTML parser irrelevant for the modern world. These libraries were state of the art when they were written, but it's the world around it that changed.

Now one can make the argument: why was it not modernized and updated? The simple answer is that people started building code against this and now depend on it working this way. The only way would be to completely rewrite them with new APIs, remove stuff no longer needed but then you're effectively back to just using crates.io and the likes. Except it's worse now because the standard library is a monolith and does not compose.
Ask and you shall receive:https://github.com/JuliaLang/julia/pull/41936

That giant runtime enables all sorts of features that are used by unparalleled julia packages.

Soon TM you'll be able to emit runtime free static binaries if you don't need the dynamism. In fact, that's what the GPU compiler does already
some people are painful.
This is one of the stupidest scandals I’ve ever seen. It makes Labour look very bad and deluded. They think the PM is going to resign because he stepped outside to the Downing St back garden for a short break and a glass of wine on a sunny day?

Hall Monitor mentality in full effect.
In approximate terms, I think that I feel this way because large companies currently seem to have significant influence over the way that people conduct their lives.

If we're shifting to a situation where companies essentially regulate (and yes, that's a risky word to use in this context, but I'll do so anyway to provoke a bit of thought) social behaviour and norms, then I would see decision-makers in political spheres and corporate spheres as being relatively similar.

Conflicts of interest would arise based on corporate strategy, allegiances, and undisclosed information (not desirable properties in a market-driven system).

Under that kind of environment, enforcing rules on politicians while not enforcing them on corporate decision-makers could be seen as an attempt to shut down existing democratic processes.
Fun!
Years ago I wrote a Zork-style game engine. It was scripted with objects and locations with attributes. You were also an object. Other simple scripts emitted messages and changed attributes when match conditions were satisfied.

Sounds like any other programming language when I say it like that. But the scripts created dependency trees which got triggered. So not a declamatory language with subroutines etc.

Anyway, blast from the past.
> It could even help with simple plain text.

I've always found it interesting how video games (e.g. Legend of Zelda) will make certain key words in text a different color. It works well—but why do we only do it in video games?
Just to encourage people who might otherwise be discouraged by your post - I completed my CS Masters at 44. While it was time consuming, I found it rather refreshing compared to normal work.

Work is full of ambiguities and complexities whereas academic work has straightforward success criteria and you're always starting from a blank slate. I enjoyed it, but I was also lucky to have the support of my family to spend my time that way.
Yes, it means that nodes do not share physical memory (whether volatile or persistent). It is the opposite of shared memory. They can still exchange messages and that can easily lead to races.
I think most people end up regretting code that users itertools::Either at the moment and use it reluctantly.
Europe Sleepwalked into an Energy Crisis That Could Last Years
You have no idea what the future will come up with. There is a lot of potential on both sides.
Doubtful. Beam forming would be more beneficial.
For the none Brits on here, we are nearing the end of Boris Johnsons farcical term as PM. It could be just a matter of days until he is gone, and god know what then happens as there is no one obvious to take over - even on an interim basis. Most people I have spoken too would like there to be an early general election, even if they want another Conservative government, because we need to clear house and start afresh.
An ACM membership ($99/year, discounted to $75 for the first year) gets you access to ~40,000 books via O’Reilly.

It’s a very good option if you think you might want to dip your toes into a variety of programming books, and don’t want to commit to buying individual ones.
> that's very unlikely scenario.

Wi-Fi sensing works with 2.4 Ghz and higher.
I would say it still is damning the Protestant work ethic in that it doesn't assume leisure is slothful. The fact the author references Spanish people cooking instead of eating fast food should be a hint as to what worldview that drives such a behavior (Catholics don't see work the same way as Protestants do).
So sayth the factcheckers who outed themselves … repeatedly.
Nothing is more clear on this thread than the fact that NEITHER of you understand the words "monopoly" or "antitrust." Apple absolutely does NOT control the mobile market, because to do that you have to have a supermajority market share. They do not.

Apple has a platform, not a monopoly.
> I'm probably missing something but why would the industry back this?

One possible reason: to "commoditize your complement" (https://www.gwern.net/Complement). These industries make hardware, making the software side better makes that hardware more useful.
My C class was 12 years ago but I still remember vividly struggling with it on a relatively basic program: figuring out to make the teacher's library work, being greeted with “Segmentation fault core dumped” with zero additional clue, hence needing to install GDB and learn it…

Rust is much much more gentle to learn than C: when you don't understand what a pointer is and how it works, you get an explicit error message given by the borrow checker and you can just ask on the official discord channel for beginners and you've solved your problem.
your access point is transmitting beacons on a regular basis anyway.
Weird to not see any references to https://github.com/golang/go/issues/48409 / https://github.com/golang/proposal/blob/master/design/48409-...

There's been a lot of back-and-forth on how to improve the tuning situation in go. See https://github.com/golang/go/issues/42430. It seems like Michael Knyszek will be doing something about it for go 1.19.
I prefer firefox to brave
I disagree about the 35 years old statement. I took a full time in-person Masters in Data Science while also working full time from 36 to 38. I finished it with a GPA of 3.9/4 and I feel it was the best time to do it.

It was my third time going to school. The first one was to take a undergrad+grad in CS when I was 18. I did not even know why I was there. The second one was I was 29 for grad school in quantitative finance, why? Because everybody in my professional environment was doing it. I definitely did not enjoy that either and did not learn much. My third time, well I clearly knew I wanted to learn becase I truly enjoyed the matter, no professional need but I simply liked it. And I knew about the math part.

Now I am almost 40 and I know almost for sure I am in the same shape or even better to go to school again and enjoy it. To me is just to do something because you like it, not because of social pressure, professional reasons or hype. Also, I think to have a good time while doing it you have to be aware of your personal situation. Mine was totally favorable.
It is not possible to do what you are asking for on iOS. They do it for Android because it is possible to sideload apks, but they cannot do the same for iOS.
Future of Open Source
Hey Folks,
As you know most modern applications are built using open source software e.g log4j. I am conducting research on “Current and future state of open source security”. As we founders do use a lot of open source software to save time and cost, I would like to discuss it with you to discuss and learn at the same time share my insight.

P.S: I am not trying to sell anything. I have been working in cyber security since 2013 and worked for many big organizations like Google, Facebook etc.

Let me know if you are up for discussion.

Thanks
Best
How it compares with the 12 years old javascript (my most beloved) simulator with detail explanation I wonder : https://imrannazar.com/GameBoy-Emulation-in-JavaScript:-The-...
Yet additional demand is still being satisfied, even if QoS returns to a certain equilibrium.

The problem is that the added capacity still isn't sufficient to satisfy the extant demand of people wanting to get to town.
Notice it's not the engineer doing the choosing in that optimization. You're asking the client to choose. Then you execute.

You can give any number of examples where time has a loose constraint.
At the time I posted this, the README for the repo did not include the images that are there now.
I want a programming language that can do a lot, from web, game and IoT, with type system like Haskell/TypeScript/Rust/Ocaml and simplicity of Go
"Home Wireless Networking is still pretty much an unsolved problem for average consumers."

What do you mean? Most consumers have a wireless router, and that works for their needs.
Too bad. There's not too many PLC projects out there.

There's Inxton, TcOpen and few guys doing it in Beckhoff TwinCAT3 space.
>No, entitlement is thinking that Apple should be free to break anti-trust law, and engage in illegal anti-competitive practices.

Precisely which antitrust statutes is Apple violating? Please be specific.
I was building my first web app with SQLite and wondering why reducing database hits wasn’t doing all that much to improve performance. Thanks for the article.
like many older developers, I have become less ideological about DRY over time, particularly as I have seen it motivate extremely abstract solutions that have proven difficult to understand and maintain

i have coined the term "Locality of Behavior" (LoB) as a competing design principle to DRY (as well as Separation of Concerns, SoC) that advocates more inlining of (potentially repetitive) logic in the interest of code maintenance and understandability:

https://htmx.org/essays/locality-of-behaviour/

pic related:

https://pbs.twimg.com/media/FAInxTuVkAATRrn?format=jpg&name=...
A lot is being done on Zigbee/Z-wave plus MQTT
Show HN: Generating React Icon Components from Figma
Couldn't agree more. The stupid thing really is that he didn't just fess-up at the outset and it would all be forgotten about by now.
It's not a problem who is walking among them or what their message is. Anyone has the right to express his opinion. I am getting really sick of hearing this argument. No there is nothing in the constitution that would forbid you to protest peacefully alongside whoever. Also the message you are allowed to voice is not defined by you or some politician.

If you have a problem with some of the protestants you can voice your concerns. But stop judging everybody participating.
It's only scratching the surface of the reporting, there is much more. Some of the reporting might be due to "collective panic", but a lot of the reporting is due to telegram choosing to stay oblivious to groups that constantly abuse the service to make terrorism plans, e.g. recently a plan to murder the minister of health of a federal state, or groups with tens of thousands of members constantly publishing "traitor" lists of politicians, journalists and other public figures along with their private addresses, names of family members and even schools their kids visit, demanding the group members "inform" these "traitors" and their families that they will be hanged for their actions soon.

At least last bit isn't just journalists making up stuff. I saw "queerdenker" stickers in my city giving a telegram link, which curious as I am checked out, and one of the first things I saw was somebody sharing a list of "Volksverräter" ("traitors to the people") followed by a lot of "hang them" comments by other people.

I distinctly remember one person commenting that he had already sent a letter to one of the politicians containing a "Hinrichtungsbefehl" (order for execution) he cobbled together, of which he posted a screenshot. It was single page letter meant to look "official" that listed "crimes" (such as treason) the politician was supposed to have committed, and concluded that therefore the politician was to be hanged or executed by a firing squad (choice of the politician, isn't that nice? :P). The consensus of people in that group replying to that guy was that the letter was a good one, with some suggestions on how to improve it in the future.

The group and the list in the chat history were still up a week later, so neither the group moderators nor telegram removed it.
I mean, they had an internal employee revolt, since his “personal opinions”, opinions backed by cash, were that those employees should have their human rights limited.

You can’t lead effectively if the people you are trying to lead justifiably view you as hostile to them.
I set a goal of reading 20 books last year, having read maybe 1 the following year. I ended up reading 11. #1 definitely resonates with me. I spent 3 months drudging through The Plague by Camus in particular.