skysight-inc/HackerNews huggingface dataset:
Your question though rises an interesting problem: ULTIMATELY, is there a piece of code which loops while waiting for data? I guess the answer is "maybe" but it's more of a philosophical question... in my previous example the OS kernel running on the main CPU doesn't loop awaiting for a disk drive block or a network packet but the code running on the controller CPU most likely does.

So it's a matter of perspective I guess. You don't want to poll in your code and you want to let the kernel do the job for you. Does it mean that the kernel doesn't poll? Not necessarily; The kernel itself might be forced to "poll" (e.g. the device driver can't do otherwise) or it can outsource ;-) the dirty and time consuming poll job to a peripheral which in turn will have an embedded CPU and firmware.

Bottom line: if you poll it is GUARANTEED to be a waste of time and CPU cycles but if you let the kernel do it there's a chance that the system might do a better overall job. That's because main CPU time is really expensive while peripheral CPU resources might be cheaper in the big picture so ultimately it's not a "poll vs. no poll" but rather "specialized poll vs wasteful poll"
That's really cool Ian, now can we get back to this directed graph?
Wow, that is very sophisticated! Looking forward to the next writeups :)
Can confirm that the internal pull up/down are there and most libraries can enable them (alternatively this can be done manually via terminal after each restart).
WrittenRealms – An Old School MUD with build-tools and a great web UI
I’ve never seen it on any of my searches. I got sent a link…
> and didn’t even stop buying the main resource the invader relies on (oil and gas)

The problem is that Europe depends on (cheap) Russian gas for heating.
Awesome exactly what I needed thxs !
Frustrated by the problem of information overload, I've been working on Sivv - https://www.sivv.io/ - a forum for sharing summaries of the most useful / actionable ideas from books, long-form articles and research. The idea is to boost the 'signal-to-noise' ratio of the information that people consume, helping them to both reduce the amount of time they spend reading while also learning more.
Crimea has strategic value for the military though, the port of Sevastopol houses the Russian Black Sea fleet.
Https://tunesource.net

A searchable library of folk & traditional Irish music, displaying the abc notation as sheet music and allowing midi playback.
Can't say I've seen it. Guess Google isn't hiring in my country.
At best a 'gravity battery' is as efficient as hydroelectric, since pumped-storage is a gravity battery. Towers, trains, spinning flywheels are high-maintenance by comparison. The technology for pumped-storage requires a supply of water and a high place to pump it to. Used around the world (Europe & US, at least) since 1890s.

Bath County, VA: capacity 24GWh, since 1985

https://en.wikipedia.org/wiki/Pumped-storage_hydroelectricit...

Dinorwig Power Station, Wales: capacity 9.1GWh

https://www.theregister.co.uk/2016/05/16/geeks_guide_electri...

Worldwide, today

https://en.wikipedia.org/wiki/List_of_pumped-storage_hydroel...
A long time ago my friend was one of the first to adopt ipv6. Some company had a special page for him saying he was the first to connect over ipv6 and instructions for claiming his prize. Called them up, and they had no idea they had that page, they had to check and "oh huh we really do have that page". Had had it up for so long that it had slipped from institutional memory.
You are correct, good DrScump. I pointed that out to the team immediately. I started Monday and this being a static site without user interaction we deemed it a non-business critical item and it's in the backlog for the next couple weeks .

For those unaware, we're talking about the lack of an SSL cert on our new company website.

Edit: Or did I completely misjudge that as sarcasm?
> Do Not Draw a Penis functions as an agent to collect inappropriate doodles from people who are not willing to stay within the moral guidelines set by our social network providers.

Contrast to this fairly broad stated goal, it is very single minded. I'll grant that the vulva I drew was probably hard to make out (still though - "asparagus"?), but the boobs? They should have been easily distinguishable from a "stereo".
This hurts me on an emotional, spiritual, and physical level.
Yep, shellcheck helps a lot while debugging shell scripts and quirks. (ALE has support for it, too, in case you use VIM)
> In and of itself, what value does raising the living standard of millions of poor Chinese provide to Americans?

Rising living standard means more consumers that can buy American goods, and it also means that the likelihood of civil war/uprisings due to poverty goes down, which in turn reduces the potential for wars.
The Pandemic Helped Topple Two Retailers. So Did Private Equity
Spending some time trying to write a native Go API for UEFI. Currently trying to go the PKCS7 signing to work.

https://github.com/Foxboron/goefi

The end goal is to provide better secure boot tooling for people. This is exemplified by my sbctl project which aims to make it silly easy to create keys, and sign stuff. Currently it shells out to sbsigntools, but this feels awkward and I'd enjoy some better integration without having to call out to C-code.

https://github.com/Foxboron/sbctl
You do not need any special abilities to predict that.

If you look around, the democracy is slipping from our hands for much of the western world and this means people look up to democratic values less when they do their decisionmaking.

Since it seems (although has never been proven) that it is in fact the democratic values that allow democratic countries to live in relative peace I think it is only going to get worse.

When elected officials can not only skirt but just totally ignore the law, when democratic procedures can be subverted, elections distorted, this is how democratic values slowly die.

When people no longer are interested in history, spend their entire days glued to a screen, when they choose only easy entertainment and are not listening to messages explaining how democracy works and why we need it, etc., this is eroding perceived need for democracy. People use "democracy" now without understanding what the word means, more and more.
It works with a dot too, so:

exampl.e@protonmail.com == example@protonmail.com == e.xample@protonmail.com

This is a good guide on how you can leverage this technique to identify which website you signed up for, and who sold your email to third parties.

https://www.reddit.com/r/ProtonMail/comments/7425v7/protonma...
My favourite for this kinda thing was how bandcamp promoted their engineering jobs.

https://bandcamp.com/jobs

They don't have any at the moment but it was always fun to solve.
It is a bit Orwellian. War is Peace, Ignorance is Strength, Safe by Density.
V8 wasm has memory size limitation because it is fundamentally limited by the chrome browser.

But other server-side WebAssembly don't have this question, for example, SSVM never had any arbitrary memory limit.
According to

https://techcrunch.com/2020/05/14/why-did-apple-buy-nextvr/

"a shell company formed this year that’s believed to be Apple is hiring most of the engineers who develop the product". That doesn't sound like the company simply continuing under new ownership.

The acquisition may be more about their video streaming patents than VR.
As much as I like the Ukrainian people, no one cared about Crimea because it was of absolutely no strategic importance to anyone but Russia. Taiwan is critically important to the US. The US _will_ go to war to defend it, and China knows this.
10nm Intel laptops have been on the market for at least six months now, for example in the XPS 13 2-in-1. The new MacBook Air and Pro 13 also ship with Intel 10nm CPUs. While Intel had a lot of trouble getting 10nm production to work and are still only shipping mobile chips, they are selling useful 10nm chips now.
Not even a memory bandwidth benchmark? Disappointing... It would be interesting to see how the 2 x N cores can deal with 16 memory sockets only and what the bandwidth of the low core vs. the high core CPU looks like.
Privacy risks of UK's Covid app are both less and more serious than you think
I would like an option of defaulting subreddits for all users to chronological order and bumping threads to front page as soon as someone posts in it. Reddit is really bad for actual discussions. It was designed for link sharing not a forum and incidently algorithmic feeds have since becoume standard due to advertising for some reason.
Show HN: Shouldistillstayathome.com
Cute little project. Thumb up for selecting Cobol as the language of choice for the implementation. I might feel nostalgic.
If you have COVID you should not be distributing your daily keys, you should be staying the fuck inside.
I think that was only true a few years ago. Everything now, from router, NAS to other appliance are moving towards ARM.

MIPS and PPC are still being used only because of cost ( vendors selling other chips ). The replacement cycles is very very slow, but the trend is pretty clear.
For the people that use unique per-merchant e-mail addresses (like someone+amazon@...), could you try some of those aliases on HaveIBeenPwned and see which ones come up in this breach? That might shed some light onto its origin.
Have you watched Powell’s most recent remarks? He doesn’t seem to agree with your assessment.
The US didn't stop trading with Saudi Arabia even after proven involvement in 9/11/2001. It's all mildly complicated.
To add to that, the Kirin 710A that will get produced by SMIC will presumably be very similar to the Kirin 710 from 2018, produced by TSMC with its 16nm/12nm process, so performance-wise this will probably be the same chip but from a different foundry - in mainland China.
Ask HN: What's your way to tracking time spend?
I'm imaging a way to tracking time:
Using some NFC stickers and NFC feature of a smart phone. Each sticker stand for different event or task. And when I am dong "task-A", I could place the phone on "Sticker-A", meanwhile a app of my phone start to record time for "task-A". When I change another sticker, timer run into another recording process.

What's your recommend way to tracking time?
How to Strengthen Your Immune System
This is great, thanks. I haven't seen this movie or heard of it. This scene is delivered very well and really explains the 'be sure to drink your ovaltine' concept
It is still sold as Ovomaltine in Germany and some other countries[1].

[1] https://www.ovomaltine.com/country-locator
My wife is trying to work on the kitchen table, just buzzed her with this, annoyance ensued.
There's no silver bullet I guess but I think the trap that one could fall into here is to think of "the" frontend. There's a bunch of additional consumers of the data model even for a single web-app. Auditing, security, reporting (prior to moving to a separate reporting database), internal tools, possible future mobile or desktop applications, etc. I have found the safest approach is to enforce invariants in the database rather than assume the application code will do the right thing. But as you highlight the schema can be refined by the needs of the front-end, especially where indexing is concerned.
Static Web Site Generators
That is a fair point! I did mainly mean to focus on social and political issues. I guess the question is what counts as transparent. In my mind, it should not be as easy as creating a new "page" to hide the connection between different sources.

Perhaps I'm being cynical, but my impression is that FB is aiming to provide just enough information that people will say "they're doing that already", and not enough that people can really understand what's going on. But I might be wrong.

The Ad Library claims to show all active ads, not just political/social ones. That's presumably true, but hard to verify or make use of. The "Jellop" ad that I couldn't find was missing precisely because the page name was something else they'd created for that ad.
Pandemics shatter AI's intrinsic conservativism
Yeah, it's not surprising that you can blow out a weighting system if you... blow it out.

If we're modelling utility in situations where human life could be endangered, you should probably tie some amount of utility value to risk of death (or inevitability of death, given the cookie example), preferably on a ramping scale that approaches infinity as death becomes more imminent.

Maybe I'm missing the forest for the trees here, maybe the point is that it's impossible to create a moral system for allocating resources in a world where they are finite. I see little utility in such an argument, however.
I agree, & it's even worse than that: hiring pipeline will only measure how well you do on the day, which is a noisy measurement of underlying ability.

If you get asked a coding problem in an interview and don't go so well, it doesn't matter if you would have had a strong answer for the 10 alternative interview problems that weren't asked.
Let's build a platform business – Day 2
So who made TH99? (total hardware 1999)
Having possibilities as a technology perspective is always a good thing. But without a good use case, it seems to be worthless. CA's will review it from a business perspective and if the market doesn't need it, they will not implement.
The Unattributable “Db8151dd” Data Breach
> Email addresses, Job titles, Names, Phone numbers, Physical addresses, Social media profiles

I just got the email notification from HIBP (Have I Been Pwned) a few minutes ago [1], but I am not worried about the compromised data because 1) my personal email address, job title and phone number are all visible in my resume which is publicly available in my website, I actually encourage people —mostly tech recruiters— to download the PDF and contact me via email or phone all the time and 2) my physical address is irrelevant because I have been moving houses every year for the last seven (7) years (even across countries a couple of times. All the social media accounts I have are completely empty, I just keep them around to get a hold on to my nickname.

I recently found, in my website’s HTTP logs, several requests from a web crawler controlled by ZoomInfo [3] an American subscription-based software as a service (SaaS) company that sells access to its database of information about business people and companies to sales, marketing and recruiting professionals. I was going to configure my firewall to block these requests but then I remembered —hey! my website only has information I am comfortable sharing, so it doesn’t matter— but I’ve been thinking it is just a matter of time before someone hacks one of their systems and leaks their database.

In my previous-previous job I found a fairly simple (persistent) XSS vulnerability in BambooHR that allowed non-authorized users to access data from all employees registered in the website including Social Security Numbers (SSN). I told my boss and we immediately edited everything before migrating to a different system. We never knew if BambooHR fixed the vulnerabilities and I wouldn’t be surprised if the data was leaked before or after I found the security hole.

Software security is such a Whac-A-Mole game, even if you get the budget to conduct security audits on your code, there is always going to be a weak link somewhere in the chain and that will be your doom. This is one of the many reasons why I left that job as a Security Engineer, the other reasons were Meltdown [3] and Spectre [4] they both made me realize I was fighting for a lost cause.

[1] https://haveibeenpwned.com/NotifyMe

[2] https://en.wikipedia.org/wiki/ZoomInfo

[3] https://en.wikipedia.org/wiki/Meltdown_%28security_vulnerabi...

[4] https://en.wikipedia.org/wiki/Spectre_%28security_vulnerabil...
Oakland Unified launches $12.5M fundraiser to close digital divide
That’s both true and not.

Yes, it’s true that once clock makers started adding dials they used clockwise because they mostly lived in the northern hemisphere, and decided to mimic the design of sundials.

What’s less obvious is the inclusion of dials at all. While in popular imagination the road from sundial to clock is clear, in reality some of the first modern clocks had no faces at all. The initial responsibility of medieval clocks was actually chiming, first in “liturgical hours” and then eventually regular hours. Their weight, cost, and inaccuracy meant that they were more commonly used to call monks to pray (hence liturgical hours) than for economic activity.

Jumping from chiming to circular clocks was actually a pretty significant leap for clock makers, and one that only seems obvious in retrospect. Especially since sundials typically trace semi-circular paths and not the full circle that a clock uses, and the installation of clocks into tall, prominent locations took a few centuries.
Repos of popular open source games?
Hi, I am looking for repos from relatively small open source game projects, as a way to read code and learn through it (code structure, patterns etc), ideally in C++/Rust/Java. Any suggestion?
DP3T Android App Switzerland: Open-Source Implementation by ETHZ and EPFL
Georgia reopened weeks ago and yesterday hit their lowest levels of cases and deaths since the outbreak began at 22 and 3 respectively: https://ga-covid19.ondemand.sas.com/
Show HN: SheetHub – Your notes and gists all in one place
I’ve released a side project because I needed this tool.

I use Notes on OSX quite a bit (and GEdit on Linux...) for gists, reminders, cheatsheets etc... Mainly to re-use code bits and idioms I find useful. But then I switch computers / OSes quite a bit and I don’t have these notes with me everywhere.
Also I spend a lot of time searching the same code bits over and over again, I wanted something more productive.

I wanted to solve this problem for me in a way that was compatible with my usual workflow (copy / paste!).

So I built https://www.sheethub.io it is very Beta ATM, but if you find a use for it I'm happy :)
When we did intensity modulation, there was a time when some cables, particularly in Japan used NZDSF (Non Zero dispersion shifted fiber) type fiber. This was useful when we used OOK (on-off keying) and direct detection. With direct detection, we didn’t have access to the phase and could not compensate for dispersion all that well. So we used a DSF (dispersion shifted fiber) that has the opposite slope (sign) and cancels out the dispersion. This was imperfect and DSF was a source of nonlinearity due to its narrower core (nonlinearity goes as the time derivative of the intensity per unit area).

There is no perfect amount of dispersion. However allowing the dispersion to increase in modern cables also allows us to make the fiber core a little bigger. This reduces the intensity per unit area, reducing the fiber nonlinearity. Additionally there’s some benefit for highly dispersed signals as they look like noise.

For long distances we encode the information on the electric field phase and amplitude as us done in wireless. In actuality most of what’s done in optical from a modulation point of view and most of the theory comes from wireless originally. A difference is that we use a laser as a local oscillator to shift the data back down to baseband just like in wireless. We did intensity modulation for a long time because the signal speeds are very high and the semiconductor technology wasn’t there to do ADC and DACs at the rates we needed at low enough power and cost. This changed around 2008 when the first coherent systems became practical due to the availability of 45nm CMOS.

Now most everything above 25Gb/s and 80km is coherent. Below that we still do intensity modulation and inside data centers it’s all intensity modulation. This is due to cost and power reasons. Even in 7nm, coherent is still higher power on a bit/s basis. It’s also more expensive due to complexity of the transmitter and receiver as well as the need for better quality lasers.
I've lost interest in HN to the degree I've lost interest in computers in general. As I've learned to understand how they work, including the "cool" parts (3d graphics, AI, ML), they've lost their magic to me and I just view them as complicated and tedious mechanisms. Unlike many people here, I guess I was never that much into bending my mind around complicated and hairy software puzzles.
Huh. Seen in retrospect, it's sort of obvious. Propeller efficiency can be increased by mounting them in pairs, one behind the other, where the two are rotating in different directions. This reduces the "twisting" movement of the airflow behind the propeller, which is a sign of energy that's lost and not used for propulsion.

Stands to reason that the same thing would be the case with wind turbines, and maybe a little surprising that it hasn't been on anyone's radar before now.
Imagine thinking Guns Germs and Steel is “scientific”
Indeed. A proxy robot war is just a very expensive game. And if you can settle your differences this way, you may as well do that in Quake 3 Arena for cheaper. And if you can settle your differences with Q3A, you may as well do that over the negotiating table. All of these depend on mutual cooperation; both parties agreeing to respect the outcome of the game.

Real war starts when one party is unhappy about the outcome and unilaterally decides to no longer cooperate.
Site been Hacker News'd?
Actually I'm receiving about 10 attempts per minute on my non-22 ssh port that I've set up
Google [1] is building one too but for their internal use.
[1] https://businesstech.co.za/news/broadband/326323/google-is-b...
Yeah, but never in an amount that was actually meaningful, only by a couple of non branded PC OEMs.
The ADHD paper that triggered a backlash, and what it taught me
They should have more African partners.
Here's the review of the book from 1985:

https://www.chicagotribune.com/news/ct-xpm-1985-10-20-850311...
automatically generating ethereum contract apis in swift at compile time from solidity compiler results

basically `.sol`->`.abi`->`.gyb`->`.swift` chain
MITM proxies ran by organizations (governments) that also own certificate authorities is exactly why certificates like this are rejected by browsers on syntax alone.

You can't wildcard at the root or TLD, and you can't have two wildcard labels in a DNS name.
Thank you, I've been hearing about that book lately. I'll definitely look into it, it seems very relevant to this.