skysight-inc/HackerNews huggingface dataset:
I don't work in the field and don't know exactly how I'd personally feel about it, but I can see a very strong argument that even one of the most heinous weapons every deployed on Earth likely saved a net million-plus lives.

If that is the case, is it moral to refuse to work on the Manhattan Project if asked?

(I also agree that working on the next generation of the atomic bomb or the next revision of the M16/AK47 does not hold the same promise of saving lives, of course...)
Flocking is one of my favorite algorithms. I used it as the AI in a game once where fish play capture the flag. I gave each player a "personality" by weighting separation/cohesion/alignment slightly different.

I also added in cohesion towards enemies (for attacking) or the flag (for capturing), and separation of obstacles. If one had the flag, they changed to separation of enemies and cohesion towards their own flag. With a few simple additions, watching the results was very satisfying.
How some websites know your Google search queries
Google Chrome is automatically prefetching the first Google result and therefore passing your IP address and search query (in the referrer) to that website's server. It's called Google Chrome prefetch and it's turned on by default.

So while you may not have clicked on that person's LinkedIn or Facebook profile, Google Chrome has already done this for you.

To switch it off:
- Chrome > Menu icon > Settings > Advanced > Privacy and security > "Use a prediction service to load pages more quickly", toggle off
> Just a 15-minute walk away are the offices of Twitter and Uber, two companies that along with other nameplate technology giants have helped push the median price of a home in San Francisco well beyond a million dollars.

The article didn't even mention Dreamforce, where no kidding there was a surplus of clean food, water, and even clothing/swag just a 10-15 minute walk abject poverty. The whole thing kind of made me think of the following quote

> “The greatest crimes in modern history resulted not just from hatred and greed, but even more so from ignorance and indifference.” ― Yuval Noah Harari, 21 Lessons for the 21st Century

I took a couple of extra socks and shirts from software vendors to give out, but man... Heroin is an ugly drug. There was alot of talk about hoping the new mayor would do something. Like set up safe injection sites, but this feels to me like a bandaid for the problem.
Nice.

One issue: the overlay parts are positioned using onload JS, and do not reposition on resize.
Children's poetry makes for fun source texts for these projects. In this case dumping a bunch of old poems generated mostly gibberish but I found the following examples amusing.

While here on my deathbed I try to relate My many misfortunes and miseries great. Poor thoughtless young thing! If I recollect right, I began life in March, on a clear frosty night; And before I could see or was half a week old, I nearly had perished, the barn was so cold. But this chilly spring I got pretty well over, But there wasn't a tree for miles around, They were too frightened to stay on the ground, And moused in the stable, or played in the clover, Or till I was weary, which seldom occurred, Ran after my tail, which I took for a bird

The wind did blow, the cloak did fly, Like streamer long and gay, Till loop and button failing both, At last it flew away. Then might all people well discern The bottles he had slung, A bottle swinging at each side, As hath been said or sung. The dogs did bark, the children screamed, Up flew the windows all, And ev'ry soul cried out, Well done!

When Betty screaming came down stairs, The wine is left behind! Good lack! Quoth he yet bring it me, My leathern belt likewise, In which I bear my trusty sword When I do exercise. Now Mistress Gilpin, careful soul!

There as the mother sits all day, On business from their houses, And late at night returning home, To cheer their babes and spouses; While you and I have oft-times heard How men are killed and undone, By overturns from carriages, By thieves, and fires in London. We know what risks these landsmen run, From noblemen to tailors.
Slightly offtopic, but most easiest way for detecting tampering with hardware is weighing stuff.
People are – I think – getting too hung up on possible "weasel words" in Apple's and Amazon's denials. Think about it for a moment: What good would it do Apple if it turned out that Bloomberg was essentially correct in their reporting, that Apple knew this, but that Apple had worded their denial carefully such that it could be argued that it was not technically untrue by some very narrow and literal reading of it? Would shareholders and the public forgive Apple if that were the case? Would trust in Apple stay intact? Would a judge rule in favour of Apple in case of a law suit? If the answer to all of these questions is no, the consequences for Apple would be the same as if they had lied.
Ask HN: Infinite scrolling performance in webapp?
What is the best practice to keep performance in a webapp that uses infinite scrolling and handles lots of DOM elements and images.

DOM recycling? Other approaches?
Lifelong US citizen here.

To people from outside the US, please understand that our police do not go around shooting and handcuffing people all the time. I have never personally known anyone that was wrongfully arrested or abused by the police.

Even in a traffic stop, the key is to be polite and treat the police like human beings. They are understandably concered with each public contact-- American police are killed in the line of duty, sometimes with no warning.

The problem is a political one, and it must be stopped. It' a wedge issue used to divide the voting public, and media sources play to both sides.

If you travel to the US, please do not fear violence from the police. They really are here to 'Protect and Serve'.
2. Quite the contrary when you talk about complexity. You have to design for interfaces with different clock domains specifically. This is hard in Verilog, at the very least. I did it, I knew - Verilog, having no type system, cannot determine difference between various sizes of bit vectors, let alone prevent one to perform direct operation on the values from different clock domains. VHDL is no better (I can explain). The queues required for more-or-less error prone design are not cheap in any measurement - you have to alter your synchronous design for them, you have to add silicon for them and they introduce additional latency of several cycles when transmitting data.

It is the queues between clock domains that prevents splitting sync design into smaller and smaller clock domains.

Async design, on the other hand, adds single-clock "queues" between computation stages and that queues are clocked by the completeness of operation, not by some fixed clock rate whatever variable it is.

And here some propaganda (which translates as "explanation", BTW). Ripple-carry adder in asynchronous design has average case complexity O(log(W)) (W being word size), just like worst case complexity of carry-lookahead adder. The worst case complexities are different, of course, O(W) and O(log(W)). But that worst-case complexity will occur with probability 1/2^W. What's more, if you dynamically add words of size W where one word has two parts H and L and H is either ones or zeroes, then complexity of asynchronous adder performance will be O(log(L size)) in average case. That may be a case when same adder used for addresses computation and general addition in generic CPU pipeline. Given that ARM has, I believe, immediate operand of size 12, you will have some nice speedup in address computation out of thin air. Without introducing any hacks and/or optimizations.
You're absolutely right, the 2 tools look quite similar :-).

No doubt Google Sheets has a larger audience but Airtable is becoming increasingly more powerful so it's definitely a worthy contender. It deserves to be a niche :-)
Yes, and the people are lovely. I've also been to Russia, Egypt and Gaza, on many occasions, and the people are lovely there too. At least to me as a straight white man. I imagine if I was a gay woman I wouldn't feel the same.

I wouldn't move to any of those places though, partly because I don't want to support people like Hamas or Erdogan, and with the justice systems in these countries, that's what you're doing. Same if you set up shop in Colombia or Venezuela.

However it's also because of corrupt governments means I as a westerner am particularly vulnerable. Canada, New Zealand, Finland, Portugal, Japan, Argentina, sure, you'll be fine (ok maybe not Brits in Argentina).

If all you're doing is a backpacking gap year, and you're willing to get out of these fast, you're probably OK, but look at how quickly Istanbul turned during the attempted coup. Things can get very ugly, very quickly, or they can get very ugly in a boiling frog basis and you won't notice until it's too late. Neither is good.
Yes - I say this as someone who moved from California to Ireland.

Student loans are nearly evil - not that I think being irresponsible with debt is good, but they currently turn in to a near-prison for far too many people. You could spend 100k on lottery tickets and have an easier time getting it discharged than 100k on student debt.

Is your friend in Amsterdam or Dallas at the moment? I doubt you could find enough money to get me to live in Dallas (well, maybe 7 figures so I could tolerate it briefly and then retire) due to the fact that I quite like being able to commute by bike without dying.
The best guess I've heard is that this attack pulls down the BMC's SPI flash lines in order to corrupt its code as it's loaded.

A proper chain of trust that starts on the BMC chip could absolutely protect against that. At that point any modification to the boot image would leave the BMC refusing to boot rather giving attacker control.
Show HN: Alan – a low-code application platform
How much does PLDT charge? Thanks.
Agreed, of course, but also don't think anyone suggested that there was anything wrong with it.
Stop cherry-picking, start merging
Most Americans were asleep, that's why they are underrepresented. They might catch up or they might see a long discussion about Portugal and just close the window.
Related question: where would you live with a remote job away from the big cities if you valued peace and the outdoors?
How do you go about finding high-quality LEDs? Are they easily available in standard bulbs?
Government is made out of people. Well-meaning voters impute moral motives to government actions and new laws, but institutions are only as moral as their checks and balances keep them in line. Morality alone doesn't cut it.

You need to punish people who don't punish people who don't follow the rules. That's a reflexive rule and is the minimum requirement to get a stable institutional process.
How to get a green card
And 10 years from now we'll be talking about.. I dunno, Offenburg? Within Germany places like Leipzig and Tubingen seem very appealing (though I quite fancied a 600 year old house in Rothenburg Ob der Tauber - car free towns are lovely)
The speed of light is too slow.

I read an article a few years back about latency, not just about switching decisions at the router level, but due to the actual physical distance the light/electrons in the physical media need to travel; the HFT servers need to be very close to the exchange.
This doesn't actually answer the issue posed in the title, "How not to lose your friends". I was expecting at least a little discussion on how to replace Facebook friends, how to stay connected, alternatives etc.
I don't but that some machine learning algorithm from 2014 actually works and isn't just snake oil.
Introducing the Article Class
Keywords
Reserved Words
Trigger words
Apple did this a long while ago replacing with leader and follower.
Clock power distribution accounted for 60% of Alpha AXP power consumption, AFAIK.

The power consumption is of importance for HPC - current path to exascale is limited by power consumption.
I genuinely want to thank you for that full throated chuckle I had from this comment
I own a macbook air and a custom-built workstation running Debian. The workstation was built almost 7 years ago, remains my primary machine for work, and it continues to provide ample performance. On the other hand, the macbook Air cost as much as the workstation, I never enjoyed using Mac OS, and find myself longing to replace it with one I could run Debian on.

In hindsight, I shouldn't have bought the macbook. There seems to be a second market for used laptops, though, and so I may sell it.
Register does give a source for the first, most interesting sentence.
"@paddycosgrave moved Web Summit to Lisbon"

The wanton incompetence of the RDS and Dublin's general inability to get anything done, not to mention mediocre transit and eye-wateringly expensive accommodation?
Not worth the cost.
Brain drain is real. I left almost a decade ago, and in the intervening decade most my friends also left - Turkish people of this sort generally do very well in Silicon Valley, New York, London, Berlin, and in others.

Not that this is a bad thing. I don't see any reason for the great design & engineering talent in Istanbul to stay there, while the ruling government treats anybody who's not a part of their clientele (conservative, xenophobic, nationalist, authoritarian) like cockroaches. Considering they're only getting 51% even with the massive, massive practical broadcast power the ruling governments get, that's a lot of people.

So we vote. In the best way. With our feet.

Funnily enough, even Erdogan is realising that Turkey is losing a massive amount of talent on a month-to-month basis, in that it's been in a few of his speeches imploring people to come back lately. Apparently he realised when we're all gone, and when the construction / inflated real estate boom stops (which it did a few months ago, and the economy is in free fall right now), the only people who actually produce value are the people he did his best to alienate and scare out of the country. I believe his literal words in a national speech were: "Like, or leave" ("Ya sev, ya terket").

So we did, and I'm now paying my tax bill to the Internal Revenue Service of the United States, instead of Vergi Idaresi, and you know what? USA treats me with a lot more dignity and respect than Turkey ever did.

Turkey is going to starve (hopefully only figuratively) before it gets better, and I don't have a big problem with that. There's no teacher for authoritarians like it.
For anyone who prefers to absorb similar information more visually, I dug through my YouTube memories to find this talk. https://www.youtube.com/watch?v=Q52oYMO962w

Most material on flocking is roughly the same but I particularly enjoyed this talk. Not sure whether it was the presentation method or the simplicity of NetLogo that allowed me to keep the context of code and concept in my head, but either way this one really clicked for me.
I have done this in the past successfully and also had a prior company try to get my architecture/design to build their own.

First, don't bother with an NDA that is just a waste of time at this point, you are doing pre-sales work here treat it as such. You should walk in as if you didn't know them and were going to a client to talk about this cool new product you built.

In order:

1. State your Agenda to the team

2. Ask them what they hope to learn from the meeting.

3. Do a basic presentation on what the product is and how it can solve the integration problem and the value you can see in the product. Make sure you address anything they specifically mentioned wanting to learn from the meeting (with a couple of exceptions see #4&5).

4. Do a basic demo to show you have something real (MVP is fine) but don't get pulled into design/architecture discussions, just show it works. Talking about the types of technology you used is fine, just stay out of the details or IP side of it.

5. Talk, but do not show anything about roadmapping. Just give specific enough but still vague direction that they know you see the problem and have a plan. They may press for timelines or details depending on their goals, do your best to deflect some of that until you know their intent.

6. Ask lots of follow up questions, see what they think and ask them directly if this is something they can see using and be bold, ask how you get them signed up. That gives you the basis for the next steps.

Assuming they show interest but want more details on the system, then that is where you can go to the next level of engagement and say you'd be happy to share more details once you have a mutual NDA in place. In that NDA you can also protect yourself from them "stealing" the idea and doing it on their own. Technically it just gives you the ability to sue them if they did that, but it generally keeps honest people honest.

Good luck! This is an awesome way to start as a lot of times the prior relationship can be a huge win for both of you. Just be aware you are dealing with them as a potential vendor now so the rules are different.
Hi,
Alan is a new approach to "low code" for the rapid development of data centric applications. I'm one of the developers of the platform.

> Instead of the traditional relational database + 3GL or 4GL language, the core of Alan is a data modelling language that automatically generates full stack applications.

If you'd like to know more, we'll be monitoring this HN post and we have a forum: https://forum.alan-platform.com
Physics holds the key to performing the flipping water bottle trick
Text message. Just text them. You can send funny pictures. You can have group chats. You get all of this as part of your unlimited texting plan that's probably laying fallow.
The problem with this in my opinion, is at least what I've seen in Portland is they arrest the person, take them to jail, and when they're released they just go and do it again.

The only thing this accomplishes is putting a strain on the court system. If they had some sort of alternative to 'catch and release' like a recovery program or prison diversion program. 100% agree with you. The law isn't enforceable as it stands now and throwing a bunch of police/extra courts/extra incarceration centers isn't really going to attack the problem at the source.
your tutorial page goes to http://127.0.0.1:4000/pages/tuts/getting-started.html
This, and it's something baked into Spacemacs (easy to replicate with a vanilla Emacs, thought): working within a projectile-initialized folder, hitting <leader>po will open a TODO.org at the root folder of your project, where you can write anything you want (including inserting an Org-mode link to the file/line you were editing), and save/switch back to your file in a handful of keystrokes.

Downside: you end up with too much notes.
Tutorial links to http://127.0.0.1:4000 :(
I would suspect the former part of such a law would be immediately suppressed by the judiciary unless the city actually built enough well-serviced public bathrooms for everyone before it went into effect.
UK Court Blocks Mass Legal Action Over Google's Alleged Tracking of Safari Users
Surely that answer is kind of how I imagine it might work for clock scaling, but not for gating, which I thought was more about turning on/off clock completely to various blocks that are not being used?
If it were true that they found backdoored hardware, would you expect all of them to make statements confirming that? I wouldn't. and it is clear Apple is still lying about the events surrounding them dropping Super Micro (their current explanation makes as little sense as their shifting 2017 explanations: https://twitter.com/matthew_d_green/status/10478594450642411...).
The most plausible hypothesis of how this attack works is by corrupting firmware loaded at power-on time over SPI. Secure boot would absolutely protect from that by rejecting the signature of the modified code.
By hey, I get that Newsy groupthink means secure boot bad.
I don't know if NASA will ever plan to send a mission to repair it since it's already well over it's intended lifetime (by well over I mean several years which is a lot).
While I agree we should be asking, "what are we building this for", it is a two edge sword. There are a LOT of BS tech jobs that may go away because people are asking this question.
I've personally found great benefit reading this and I am sure a lot of people will. As obvious as it may sound, it's always nice to be reminded every once in a while.
The risky tax schemes are definitely ongoing. The bar is gradually raised, and every time this is done we hear about another group of people left swimming naked by the tide. Recent examples I can think of include celebrities: https://www.bbc.co.uk/news/uk-politics-18531008 and Rangers football club (paying its staff through trusts in the Isle of Man)
no one cares about any of those prizes except the institutions that care about them. you can't take the prestige off of an institutionally legitimated prize by talking at people (and you are talking at people not to)
> Can police lethality be significantly reduced without fundamentally changing opinions on gun regulation?

Yes. Start giving the officers and the organizations that represent the officers (departments, unions) good reasons to kick out people who are a high risk of shooting people unreasonably.

Mandatory individual liability insurance would go a long ways. Holding police to the same standard as the rest of us would also go a long ways. Pretty much anything is better than nothing.

Cops shoot people dead in situations where normal armed citizens wouldn't even think about pulling a gun. Seriously, I can't even begin to convey how massive the double standard is here. Stuff that's justifiable when the cops do it would be an instant manslaughter if not murder charge for a regular person.

Unnecessary police killings are one of those areas where pretty much everyone pro-gun and anti-gun agrees that guns aren't the problem, it's hothead officers who don't de-escalate and pull the trigger at the drop of the hat that are the problem.
Wrong. If you do not have have what the average person in your society has, you'll struggle to participate in your society (in an absolute sense) and you'll be treated as an inferior, which does all kinds of harm (in an absolute sense).

If I live aboard a ship, I am not in poverty because I do not own a car, because in my society, you do not need a car. But if I live in a city with no public transport where you need a car to get around, but I can't afford one, I absolutely am.

Poverty apologists always bring up TV as an example, as if poverty is about optional extras rather than basic dignity, respect and participation.
the alternative is math. when you sign a transaction and it gets included in the blockchain - i don't need to trust anyone that i got the money, i don't need to fear the transaction will be reversed due to some banking policies, i don't need to fear my account will be closed, etc.

so you're right, i have to trust math and i am ok with that.
He's also overreacting.
Perhaps Elon Musk can send a submarine?
Thanks for catching that... Sorry!

This is the correct link: https://alan-platform.com/pages/tuts/getting-started.html
Riksbank Prize in Economic Sciences in Memory of Alfred Nobel awarded
How to Start Amazon FBA Online Business
What about these two other, very similar space telescopes that were made available by some intelligence service (CIA?) to NASA?
Why do people care about the photos? There's a Lewis Black joke where he opines on this exact same thing: "I didn't even like looking at my family photo album". Why not close the account and never look back without regard to the photos?

There seems to be a belief that holding someone in your list of contacts is equivalent to being their friend. You're not. You're an entry in a really small Rolodex. If you haven't actually personally spoken with them in a few months, you are dusty card in that Rolodex. Burn the pile and let those relationships that matter emerge from the ash.
People should not defecate in the streets yes. But hard to tell people not to poop when they don't have nearby bathrooms to do their business.