skysight-inc/HackerNews huggingface dataset:
Ran into a funny bug once from either Cloudflare or AWS's implementation of a similar service.

Marketing made a big push for a new Promo code on the site we were running, but the promo code wasn't working. Reports came in that the promo code worked if you entered it as lowercase, rather than all caps.

Double-checked a dozen times, we take whatever string the user passes in an converted it to upper case, and all the values in the db were upper case. Keep thinking we must have messed this up somewhere.

In the end, the devops guy realizes that AWS (or Cloudflare, I forget) was blocking the uppercase requests, since the promo code was `SELECT` >.<

Assumed it was an injection attack, but only when uppercase.
He's the president of America, he's being briefed on these things by intelligent, professional people. But then he spews it out randomly and uselessly.
Here is one: shafts for power transmission equipment, in our case belt conveyors for bulk material handling. Shafts for pulleys come in all shapes and sizes, ideal use case for code generated models and Cadquery.

I'm very excited that such project exists, API is super nice, you can hook it up with a web server and anything else in python ecosystem. Then our sales people who are tech knowledgeable, but are not engineers can do this for customers without going to engineering. This saves time and shortens the sales cycle
Apparently a lot of systems were backdoored in January (exploits were available before the patches), so even if the patches were installed right away the backdoor is still there [1]. The malware hackers are now slowly processing their long list of compromised systems.

[1] https://blog.fox-it.com/2020/07/01/a-second-look-at-cve-2019...
I think people forget what it was designed for. It was to reboot IT education which was (is) badly floundering. It's success was so good it started to be used in small commercial applications. The Foundation tried to help fill this gap in the market with the compute module. Even though there is a lot of open source features the use of the Broadcom chipset was probably driven by cost as keeping the Pi price down was a factor. If a fully open source and open document solution is required perhaps the Pi isn't the right choice but then that was never it's original goal.
It's the annoying part. The anti-all-caps-clickbait system knows some common abbreviations, but not others. For example, on multiple occasions, "MIT" was not unaffected but "CSAIL" was turned into "Csail", see [0].

[0] https://news.ycombinator.com/item?id=20482855
Here's a simple analogy:

You buy a sprinkler system from Acme. Acme cheaps out and installs defective sprinklers. An arson lobs a molotov cocktail through your window to set your house on fire, but the sprinklers fail and your house burns down as a result.

The arson caused the fire, but Acme is simultaneously responsible for the defective sprinklers.

The analogy breaks down in the context of the law (as most analogies seem to) because in this case the hospital was not explicitly selling you a product to protect against hackers. However, I think it stands up from a purely ethical point of view.
> How much of Google, Apple, and Facebook will have to spin off to Chinese corporations in return

You haven’t kept up on China’s policies on these companies over the past decade have you?
Snapcast is really cool, Johannes did an awesome job! I used it for a long time at home on multiple RaspberryPis. I've been working for some time on a more user-friendly and cross-OS alternative. It's available here: https://github.com/geekuillaume/soundsync

I think I'm going to try to integrate net-boot in Soundsync this weekend. It would be awesome to be able to install Soundsync on any computer on the network, turn on an option and then just start the rPi to get it to play music.
Another way to use Python: Testing device
https://en.wikipedia.org/wiki/Low_technology
He's not being defensive, you're being a zealot.

It is important to recognize that crimes have different levels. Society understands that, and it's encoded in our laws in the way we define scaling punishments, and have a difference between misdemeanors and felonies.

For thefts, there's a distinction between "burglary", "robbery", and "robbery with a deadly weapon".

And in this case-- comparing ransomware of a university to terrorism is disproportionate.
These GPU architectures are too complicated for my taste. It reminds me of the days of segmented memory, and makes me feel like having to jump through hoops all the time. I'm curious if people have tried to invent something more elegant, and where these approaches have failed.

Also, the fact that NVidia has probably patented this particular architecture makes it less interesting for me to really dig into.
I don't keep up with the new social media - but I am wondering why TikTok succeeded where Vine failed?
The moral thing to do would've been to let the match tie at 0-0.. but I guess the opposing team didn't get a heads up about their plan beforehand.
How can you size shafts without engineers? Who does the calculation and review? Who is liable if it fails and someone gets hurt?
Recent (as in, within the last ~3-5 years) versions of GNU tar automatically detect the type of compression and apply the appropriate tool, so you can often get away with `tar xvf`.
It's funny I still have never really understood the case for Vuex. So far I have built decent complexity apps just by having a global reactive object that all components link to directly in their Vue data and I have yet to hit a problem. I see huge writeups and design patterns all suggesting I really need to use a state management library and I'm waiting for the day the penny drops and I realise what a mistake I've made but so far everything just keeps rocking along .... what am I missing?

(I get that there are some nice features like time travel debugging etc but none of them seem outweigh the giant additional complexity of routing every single state change through 1-2 extra layers.)
The ODROID H2+ is perfect for one of my applications, with the extra CPU power, second NIC, included real-time clock, onboard SATA and an official case option that fits 2 3.5" drives, and onboard eMMC socket. $120 [edit: plus RAM cost] rather than $35 is a whole other price category though.
Well, some of us are under 50 years old
and just screaming out “Commies!” just hits different.
You really seem to have a personal vendetta against linux but it has no bearing on the fact that linux runs, it's up to you to set it up. Don't like your distro? Build one. LFS. I'd rather the majority stay on Windows and don't have a fetish for caring about majority/minority. In fact, I'd prefer minimal cli installs that most don't or can't use.
I gave it a down vote as it was presented as a glib one liner. If they presented it with reasonable logic and discussion I wouldn't have.

At least for me it was the delivery combined with the HN environment were I hope we can keep this forum based around value-add conversation and not hivemind one liners, regardless of their correctness.
This can be done with Tasker. It's the most advanced phone app for automation. I believe it would be simple to make a task showing a screen that cannot be dismissed whenever the phone is unlocked.
> So it does not make sense to phrase this conversation as "They broke the rules!", because that is implying that they did something "wrong".

That's because they did. Apple's developer agreement (like most contracts) has a severability clause that says if any individual term of the contract is unenforceable, the rest of the contract still remains in effect.

This means that even if Epic's theory of the case is right, they still breached the contract by sneaking hidden code into the App Store, and Apple can still legally exercise their right to terminate the contract.
For a country to purport itself to be about freedom...
This was quite good, thank you!
I'm surprised Lyft/Uber hasn't been brought back yet. It would be extremely useful to have on hand now with the cellular model.
> Seems pretty clear that this does not apply to actions of the commerce department because they are not a legislature

Right. The executive declaring guilt and imposing criminal punishment would just be a violation of the 5th Amendment due process clause. But this isn't declaring guilt and imposing punishment, it's, superficially at leaat, making a finding delegated to the President by Congress under law designed to regulate foreign trade for the purpose of protecting national security.

Whether it comports with the detailed requirements of the authorizing law, whether the law as a whole or this specific action citing it violate the Constitution, and a number of other things may be reasonable questions, but this whole “bill of attainder” thing isn't on a number of levels.
I really hope there is more to this story than the public is privy to, and I hope we find out about it soon.
To be fair, the JVM predates GNU-style --long flags being "standard". Lots of older programs use "X11-style" -long flags (that many pre-X11 programs used, like `find`).
Instagram already launched a better TikTok and it's growing rapidly.
I doubt all the "best" (what does that even mean?) people in the world are happy to trade their time for millions.

Some of them? Sure, but I'm sure a big portion of them is spending time building something they value
The Bill of Rights limits Constitutional foreign policy powers.
Isn't that part of why we treat terrorism more harshly? It's often an indiscriminate attack that harms a lot of people. Like setting off a bomb in a government building and mostly harming private citizens who happened to be there.
We’re not banning all trade with a particular national, we’re banning a particular app from a nation we import more from (in terms of dollars as of 2019) than any other nation.

This kind of unilateral decision strikes me as short sighted and more politically motivated than anything.
SearchTeam – A Collaborative Search Engine
How to achieve flash performance for unstructured data – SOLVED
I'll bite at bending the meaning of 'machine'.

The Human / Operator; an advanced product of millions, or was it billions, of years of evolution which is self replicating (in the right pairs at least).
Other commenters in this thread have mentioned netbooting their Pis to avoid that exact issue. A typical USB flash device won't be any more reliable than an SD card, though it might be better cooled.
Can I ask what software you're using for music on your home audio system? I have an HTD system with speakers throughout and while Chromecast Audio was great for a while, stability has been an issue that I'm no longer interested in hassling with.

(Also looking forward to researching this netboot solution you speak of)
When done right the vacation is sprung on them without notice. In reality they usually know when their vacation is coming so they can alert their cohorts.
You can side load on iOS - quit spreading misinformation
Second that. What a beautiful and inspiring story. My favorite of all in Exhalation.
Anything capable of playing HD content is going to have a binary blob. The Pi (at least the first version of it) used the same chipset that was in the Nokia N8. Even Nokia got given those blobs.
Better recommendation engine
I've created this project just for fun. I'm working from time to time on a tile editor [1] and I've been wondering what would be the best way to store indexed color images (8 bit pixel art) so I wrote this to indulge my curiosity. I had a lot of fun doing it and decided to show to other people to see what they think about it.
[1] - https://github.com/victorqribeiro/tileEditor
It comes from the customers. They know what they want.
When you say you want to record you are asking for a legal document. Wanting low wage ill trained employees who have difficulties communicating to say things in a way that passes muster for a legal department is expecting a lot of a phone call. I’d blame a litigious society for preventing your record keeping.
> Do any of these easily let you build a map from only the distances between two landmarks? I've been wanting to make an accurate map of the trees in my yard.

Use QGIS[0] or OpenOrienteering Mapper[1] (simpler than QGIS) app for any GIS/cartography/mapping tasks.

JFTR, GIS apps are "CAD for cartography"; FreeCAD/QCAD/SolveSpace are "CAD for civil engineering", but could be used for some GIS tasks.

Anyway, OpenOrienteering Mapper & QGIS are CAD apps You are looking for!

[0] https://qgis.org

[1] https://www.openorienteering.org/apps/mapper/
You could say the same thing about SWEs and basically all the free or low cost software we use to get our work done. And we’re usually paid more than the engineers that use CAD.

Doesn’t mean that CAD software should be so expensive. It’s probably holding the field’s growth from outsiders back.
> Has _anyone_ _anywhere_ ever left a web site because of that warning?

Not because they use cookies, but because they show a full-screen pop-up that I have to read through or simply accept what it is saying without reading. Whenever I get a cookie pop-up I just close the site.

I hate a lot more the time and brain power wasted on dealing with cookie pop-ups than the cookies themselves.
So, now you need a mac.

Also do you realize how absurd the whole process sounds? If I want to install an app from an independent source I shouldn't be required to go through those steps, assuming the app is open source in the first place.
The Paradox of Articulation
In the new iOS 14 there's a green (camera) or orange (microphone) dot in the upper right-hand corner of the phone. If you swipe down from the top right it'll show you what apps are using the input and which apps have used it recently.

So that's a step in the right direction.
Ya, sarcasm. Because I think if we are concerned with ethics, there are a lot more factors to take into account than just shareholder profits.
Besides the DND features of the OS, I use the Macrodroid app on Android to silence my mobile based on location and time. For example my devices will turn off WiFi, dial down audio levels and brightness at a certain time in the evening, even while I might use it. This is a cue for me to put it aside if I still might access it.

Also, based on location, I automatically disable all notifications while at the gym or in a restaurant. If a had an urge to access it anyways, I might set the brightness to zero too.
Mysterious firing of who by who?
Whatever Happened to Formal Methods?
> Trump does the same thing and suddenly it’s armageddon and the Russians are coming.

I think the complaints about Trump's 2016 campaign are that:

1. There's an important difference between Americans spending money to influence an American election and Russians (secretly) spending money to influence an American election. (Alternatively/additionally, Russia hacked computers and used that illegally obtained data to influence the American election).

2. When targeting ads, there's a difference between using data that voters willingly give your campaign and data that was disingenuously collected about people (e.g. Cambridge Analytica's infamous "5,000 data points on every American"[0]).

The extent to which either of these things happened is subject to debate, as is the extent to which either of them changed the outcome of the election.

[0] https://www.wired.com/story/what-did-cambridge-analytica-rea...
I also think 30 seconds is just long enough to tell a meaningful story rather than Vine's 6 seconds which was only useful for short-form comedy.
Vine launched in 2012. There probably wasn't a critical mass of mobile phone owners, specifically teens, at that time. The iPhone hit the market only five years earlier.
As far as I understand it, you cannot re-sell (rent) processing time on a gaming card from Nvidia for machine learning tasks. This is why you don't see Google and Amazon offering virtual machines with gaming cards. However if you're the end user, you can do whatever you want with the gaming card you bought (not that Nvidia can enforce this).
The same way many people have some problem with neighbourhood transparency by using curtains on their windows?
Do you have a source for this? I'd love to know what node they're using. I'm guessing no better than 12nm, but who knows?
Most of the graphical 3D CAD programs include a constraints solver that work over the domain of real numbers. A quick search doesn't turn up such a python library.

https://wiki.freecadweb.org/Sketcher_Workbench

https://forum.freecadweb.org/viewtopic.php?t=17868

https://en.wikipedia.org/wiki/CLP%28R%29
We're going down a rabbit hole away from the main topic, but "depraved indifference" can lead to murder charges in some states. And burning down a building without checking if anybody's inside would definitely be depraved indifference.

https://en.wikipedia.org/wiki/Depraved-heart_murder
The quality of iOS apps being higher has absolutely nothing to do with whether the app was programmed in native Obj-C or using a framework. Most iOS apps use a framework.
Isn’t this just an embargo? The fact that it is on software is new but embargos have been a thing in just about every western democracy
Money Laundry: The Rise of the Crypto Sock Market
> However she, as a sentient being, has agency. As such, she (not me) gets to decide what happens with her body.

You're confusing the idea of removing the other person's free will and the obligations that being in a sexual monogamous relationship carry.

In a monogamous sexual relationship, if one person refuses to have sex much more frequently than the other, then that can very quickly destroy the relationship. Humans are sexual beings, and being in a monogamous relationship means you have only one outlet for that sexuality available to you.

Instead of sex, consider conversation. How long would a relationship last of one person started refusing to talk to the other person, at moments seemingly for no reason to the other person? How long would that last? If I said that being in a relationship obligates you to communicate with the other person, would you object on the basis of removing the other person's agency by placing such an obligatiom on them?

Sex should never be forced. But entering into any relationship carries with it rights and responsibilities. If you are refusing sex for no good reason, then it is a sign that you no longer wish to meet the obligations of a monogamous relationship. The two people can either break up, or try to work through things. But such an arrangement can't be endured forever.
I run ubuntu on my desktop computer, it's alright but I still get wireless connection issues on fresh installs. On top of that I prefer the various settings interfaces on windows 10 especially when interacting with third party hardware such as high-end monitors and graphics cards. Finally, native windows software is frequently better than native linux GUI software. In my opinion there is just less craftsmanship (i.e. loading animations around network latency, general responsiveness (multi-threading support?)), that effects the user experience.

I will always keep an installation of linux on one of my devices, but I don't want it to be my main driver.
These two commands should fit most of your use cases:

tar cf dir.tar dir # mnemonic: 'create file' <tar-file-name> <dir-to-tar>
tar xf dir.tar(.gz|bz2|...) # mnemonic: 'eXtract file' <tar-file-name>

On systems with "modern" versions of tar `-x` is capable of recognizing which compression format is used and doesn't require the explicit `-j/z` flags you usually see.
> Actually, if the company has significant market power, which does not require a monopoly, then anti-trust law can absolutely force a company to do business with others.

Actually, this is incorrect. This is known as a refusal to deal and very specifically applies to companies with monopoly power only.

More than eighty years ago, the Supreme Court set out the fundamental principle that still guides consideration of cases involving refusals to deal in the United States. As the Court stated in United States v. Colgate, ìin the absence of any purpose to create or maintain a monopoly, the Sherman Act does not restrict the long-recognized right of a trader or manufacturer engaged in any entirely private business, freely to exercise his own independent discretion as to parties with whom he will deal. Accordingly, refusals to deal are actionable only when done by a firm creating or maintaining a monopoly power.

https://www.ftc.gov/sites/default/files/attachments/us-submi...
Better UI than it has now.
I've met a lot of people over the years who have computing of some kind as their job and had hobbies which are a complete contrast - blacksmithing, gardening, cabinet making. Anecdotally I do see fewer and fewer of these kinds of mixes. In general it feels healthier to have a hobby that drags your attention back into the physical world, but having said that there's something so wonderful about exploring all the knowledge on Wikipedia with a bottle of good red wine. As Jace Clayton once tweeted, "... and again I find myself at the end of a click trance looking at the Wikipedia entry for the guitarist on Bat Out Of Hell".
I don't think it's a big deal, but I was confused for a minute, because sus in English slang is short for suspect/suspicious.
> reputational harm which is real and costly (though I know HN is skeptical of it).

Largely because the world keeps demonstrating that reputational harm just doesn't happen to large companies. Uber included in this particular case.

Here's the Uber trips per quarter (in millions) since Q2 2017 (source https://www.businessofapps.com/data/uber-statistics)

Q2 2017 889

Q3 2017 985

Q4 2017 1,088

Q1 2018 1,136

Q2 2018 1,242

Q3 2018 1,348

Q4 2018 1,493

Q1 2019 1,550

Q2 2019 1,677

Q3 2019 1,770

Q4 2019 1,907

Q1 2020 1,658

The probable reason for the Q1 dip was the pandemic. The number of riders just keeps on rising.

You can see the same with Target etc. Large breaches happen, major negative incidents, and at best you might see a blip. The large majority of people just don't give a shit, so companies are given permission to not give a shit either.
Another observation is, boredom (at least for me) is a necessary pre-requisite for thinking deeply about things. I've noticed this years ago when I was at Google. When a hard problem would arise (which was nearly every day), I'd go for a long walk outside, leaving my phone on my desk. By the end of the walk, I'd usually either have a solution, or a viable start of a solution. A lot of good work was done on those walks.
Not if you write Handmade Hero.
As Good as It Gets
Microsoft Create: Serverless
I thought we agreed on ISIL? ISIS doesn’t make any sense to me since they clearly haven’t succeeded in taking or holding Syria.
I can't find any evidence to support that except some crackpot websites and forums taking a few things he has said out of context.