skysight-inc/HackerNews huggingface dataset:
Is bribery really harmful enough to necessitate custodial sentences?

Especially in the EU, where our criminal justice systems aren’t nearly as unreasonable as in the US.
Show HN: Hacker News Calendar
I still don't see the value added by TypeScript. My JavaScript tests catch typoed property names every time. I can't remember the last time I merged code with a typo in a property name. IMO, if you typoed a property name and your tests didn't catch it, it means that either your tests are poorly written or your object didn't need that property to begin with.
Do you even know what UNIX is?
Are You Stuck in the Innovation Paradox?
Unless it is intentional, that logic permits swapping marijuana fields with e.g. heroin labs and machine guns with e.g. nuclear bombs. How can we objectively draw the line?
it does support plain smtp for sending

source: I bought it
Did you end up writing it down?
The European Parliament has been directly elected since 1979.

https://en.wikipedia.org/wiki/European_Parliament#Elected_Pa...
The article says that the primary choices are USA, UK and Singapore.

I've seen a few companies register in USA, Singapore and Ireland. Primary destination would obviously vary based on the founder preferences, nature of the business, location of customers, etc.

I think the major factors preventing them from moving would be lack of knowledge / fear of the unknown, residing in India with profits accumulating abroad and immigration uncertainties.
Hi, congrats
What is the stack?
Sure, bad things happen.

We have chosen a non-direct, representative political system and lobbying is a direct causal result of this chosen system.

It is not a side-effect. We intentionally wanted to create a group of people who could spend their time educating themselves on the issues at hand better than people as whole ever could.

Lobbying is what we wanted as a result of this system. Unfortunately this sometimes leads to regulatory capture.

Some countries have been better at managing political corruption than others.
You can store SSH keys in the user records.

systemd was never just an init replacement, it's a project that includes an init replacement.
Even if you own the business, your funds for traveling should come from the company and not your own pocket.
Type systems can be thought of as low-cost (in terms of dev time) declarative tests. Which should leave you with less to test in your actual tests. They also give much quicker feedback than tests.
instanceof checks the prototype chain, which is a different concept from type. Prototype chains are dynamic and exist at runtime, while Typescript types are a static concept.
So if someone came and plopped themselves and the entrance to your house on the pavement, you'd want there to be no recourse to ask them to go away.

Vagrancy, loitering etc have always had cause to be enforceable offenses for 200 years for a reason
Bribery is forbidden by law, for obvious reasons. A law is useless if it is not somehow enforced. One could enforce it by holding the company accountable, however history has shown that this does not withhold individuals from breaking the law for personal gain. (Remember Enron or the credit crisis)

So that's why there are custodial sentences for bribery.
I would honestly struggle to do that. When one side of the argument is effectively arguing for my own removal / loss of rights / loss of dignity, I don’t see how I can have a dialogue with them about anything, since they clearly see me as inferior / unworthy.

Brexit effectively ruined a few experiences for me, like pycon UK, and I’m really not looking forward to picking them back up or risk being in that position again, sorry. I respect everyone’s opinion until it starts making me an unperson, there I draw a line.
Also, a note on the humanitarian side of things, but not directly related to mining: When the Portuguese colonies seceded in the 70s, many people returned or emigrated to Portugal with nothing more than the clothes on their backs and "diamonds" they had exchanged their farms and real estate for.

I remember a few dinner conversations about how a few of them came to my father to assess the value of those stones, and most were chunks of quartz or other worthless crystals.

I think some of those conversations were really tough, and one of the reasons he disconnected from work as much as he could (his hobby was electronics, and one of the reasons I got into computers was that he brought a Sinclair ZX81 from London after years of putting together various kits, including a HeathKit oscilloscope).

So, in a way, diamonds are the reason I do what I do these days.
I’m pretty sure that using two phones offsets any environmental savings from a single cable by quite a bit. Who knows when the EU will crack down on that kind of splurging?
What is your programming credo and how it helps you at every day code?
The strangest thing for me reading this is that, well, I loved Aperture. I used it loyally from v1 until long after it was EOL'd. I spent thousands of hours in it, and it really fit my ideal workflow.

There was a lot of functionality/crap in there that I did not use, a lot of functionality was hidden away behind context menus and a lot of promised features around integration with plugins and 3rd party never really materialized, but in terms of core function it was a total workhorse.

Apple ultimately went to great lengths to purge it from existence, even for those of us with paid licenses who'd been told (or at least safely presumed) that we'd be able to install it on new machines via the app store, even if it wasn't available for purchase. In reality, they removed the binary from the cache. At one point, I went through a ridiculously elaborate process of obtaining a certain kind of physical license from eBay and spent hours emailing random Apple employees - likely some of the folks mentioned in this story - getting them to make exceptions and pull favours to make it possible for me to install it one last time before Catalina pulled the rug out for good.

Fuckin' Apple.
Photography and microscopy have sure taken off though
Russia's use of facial recognition challenged in court
I don't quite understand, what is guaranteeing it's leak free?
German Air Force and Navy losses totaled 110 pilots. One alternative considered at the time was the Mirage III. But (partial) production in Germany and Nuclear Sharing were in the mix, too. The latter seems to be a factor wrt. the F-35 again now... (1) Not sure how much of a deterrent this really is, given Trump now and the Soviet plans earlier (2).

I am not sure why France doesn't seem to want to play a bigger role in Europe in this regard.

1) https://www.defensenews.com/opinion/commentary/2018/03/07/nu...

2) https://en.wikipedia.org/wiki/Seven_Days_to_the_River_Rhine#...
Old Nokia chargers disagree with various barrel connectors. It is not like "Anyone with thin-barreled Nokia charger?" was in the distant past.
That's the naive version of lobbying for gullible people. In practice, whether it's big oil or renewable energy (still an industry with profits) it never works like that.
The US with the power of various DAs etc attacked the european banking industry whilst completely ignoring the american banking industry over almost nothing in some cases.
14.4 minutes is a centiday btw. For decimal time I think milliday is the most reasonable unit, being very close to conventional minute.

In practice Mars might be the best opportunity for enacting decimal time, because Earth based units would be bit awkward on Mars.
Artists who paint with their feet have unique brain patterns
MoonScript: Dynamic scripting language that compiles into Lua
>making campaign contributions

That's the same exact thing - it sponsors their campaign = their political career.

>I don't think it can be tit for tat either

Just not as a written contract. It's very much tit for tat otherwise.
And again in the 90s https://en.wikipedia.org/wiki/Swatch_Internet_Time
Ingrown Hair Help – Top Ten Treatments and Techniques
> and following best practices regarding security

Who cares, as long as you make it clear that it's a pure research project?

The problem with Actix was that they marketed it as production-ready.
While beautiful, it is growing. The IRGC (Iranian Revolutionary Guard Corps) was given control of doing large infrastructure projects and they have built some 600 dams since 1979. This is causing an ecological disaster.

https://www.washingtonpost.com/news/democracy-post/wp/2017/0...
Have We Solved the Black Hole Information Paradox?
There's a thing called dynamic type checking. It's literally all type checking done at runtime.
Even for mostly static typed languages you may want to lookup what a downcast is, it's not obscure.
This is a language in development, which already has code available, compiles, has programs and libs written in it, etc. One could say varpourware back in spring when V was first posted but the repo was closed etc. Not anymore.

But you could say that it overpromises and underdelivers...
Programming People (2016)
The basic regex is easy, infact an English word is a regex! A dot matches a single character. Star multiple of the previous character. Just that is useful for a lot of cases!
The "other end" almost always has IEC connectors in Europe. Is this not the case in your country?

If there's no regulation enforcing this, it's because the EU doesn't think it's necessary — the industry has agreed upon a standard without intervention.

https://en.wikipedia.org/wiki/IEC_60320
Fyi there’s a process to get Aperture working on Catalina. Don’t have the link on hand, but if you need it I’d be happy to dig it up.
I've always wondered a similar thing... why is reputation-based TLD network security limited to a single verification entity (CA w/ revocation policy)? Seems obvious to me certs should be signed (and thus revokable) from multiple entities by default. I've implemented this before in clients ad-hoc, but why isn't it default?

Don't get me started on authoritative DNS security.
Is it possible to artificially create diamonds so that they have defects which make them slightly blue in colour?
> I use a throwaway email account for Facebook

I feel like this might be key, I use a random burner number and this seems to confuse the tracking.
Twitter Banned Zero Hedge for Doxing a Chinese Scientist
Sky Engine Invited by Nvidia to Lead the Workshops at GTC, March 2020
It's not bribery - those are "Robust Conversations".
It is best effort anyway, just informative.

If the app resolves two hostnames (e.g. useful-serivce.cloudprovider.com and malware.cloudprovider.com), that are both at the same ip, and then connects to that ip, which of the hostnames it connects to?

Without sniffing Host header (for http) or SNI (for TLS pre-ESNI), it is just a guess.
For us, its Singapore, low taxation rates, what we understand is low compliance and supports online operations. Proximity to India (5 hours by flight) makes it an ideal destination.

Factors Preventing
- Nobody in my circle has this setup, making me worried about unknown challenges
- Double Taxation issue. I am not clear what will be taxation liability, I have talked to multiple CAs and they all say multiple things
- Transfer of IP - We are a product company and one of the CAs warned us that if we move IP of the product to the Singapore entity, it gets tricky to explain as IP was built with an Indian entity. Very gray area about this
Reminds me of the body of work by David Firth. His work also was driven by stark contrast between internal consistency and utter and sometimes unsettling external nonsensicalness.
>A law is useless if it is not somehow enforced

Airbus is getting huge fines, how is that not enforcement?

Custodial sentences aren’t and shouldn’t be the only way of enforcing the law.
That is indeed one sense of the word factoid, but in common North American usage it also can mean “small or trivial piece of information”, which is the sense I believe the parent poster is using.
Sky Engine Develops an AI Computer Vision for Swedish Trucks Company Scania AB
TypeScript already feels too much like C# for my taste.

But luckily with OCaml/Reason, there is a modern alternative to all these bloated C#/Java like type-systems.
Lessons learnt updating a Rust library to std:future
Standalone WebAssembly Binaries Using Emscripten
His post is missing one important word, “My” before MacBook.
Thank you. Some scientific background, instead of just event reporting.
Another example of a hole: https://www.typescriptlang.org/v2/en/play#code/MYGwhgzhAECSB...
>> Real world JavaScript is inconsistent, messy, and complicated

JavaScript is consistent. Expressive languages such as JS are consistent in their permissiveness. It doesn't stop developers from doing irrational things like comparing objects with numbers just like TypeScript doesn't stop developers from writing all other kinds of flawed logic.

TypeScript basically only protects code from typos. The worst bugs I see in production systems are almost never caused by typos or by comparing incompatible types; usually they're caused by issues in the flow and manipulation of data; for example the same instance is being modified in two different parts of the code without the other part of the code being aware of it; or in the case of pure FP a function is using outdated instances because a change in the underlying data source did not propagate through correctly, etc...

TypeScript is to a software developer what a spell checker is to a book author; it's convenient but once you run the final product past your editor-in-chief (whose analogy in the software world are unit/integration tests), the spell checking didn't actually add any value; at best it saved your editor-in-chief some time. It has no bearing at all on whether or not you'll get a Pulitzer Prize or a top ranking on Amazon.

The downside to TypeScript is compile time and this is a significant drawback IMO because it slows down iteration time significantly. Time spent waiting for the build to finish is time that was not used to add new tests and new features.

If you add up all the time that all developers on a project spent on waiting for the build (or lost their focus/train of thought as a result of waiting for the build to complete), how many extra unit or integration tests could have been written using that lost time? I think if you do the math, you will find that TypeScript is a net liability to the project.
Just a PSA for the people who don't know already: LBRY uses trackers from Goolag, Facebook and Twitter on their website
You can still have a man-made virus with the original source being bats.

https://www.the-scientist.com/news-opinion/lab-made-coronavi...

If you're interested in the open speculation, this guy does a pretty good breakdown of all the talking points:

https://threadreaderapp.com/thread/1221990534643929089.html
You can find a tone row in Bach even. Whether or not he consciously aimed to construct one is a debate that has no end, but it's interesting to challenge the conception that old = more traditional/harmonic, when in fact music history is much more wobbly than that.
The german mass murderer system was perfectly designed regarding minimizing repsonsiblity and traum to those involved.

There was a prisoner getting them into the shower.
There was somebody else, who just dropped a tin of cyanide down a drain.
There was a prisoner crew to get the bodys out.
Reponsiblity, so atomized, its inhumane.
Show HN: Baitblock – A free Chrome extension like Adblock but for distractions
Where Have All the Schematics Gone?
To me, this is full admission of a complete lack of security competency. Building a hardware wallet without using a smart card or some other secure element that at least has mitigation’s against voltage/clock glitching, detects light, reduces the ability to measure power consumption, etc is negligent.

Either they don’t know how to design secure solutions or they wanted to use cheaper chips since tamper resistant chips cost more. Neither is a good look
> In metric, the weight of water in grams is equal to the volume in cubic centimeters, by definition.

Just to clarify this is not exactly true. It was the original idea, but pretty quickly they realized that it wasn't a practical definition and kilogram ended up being defined by a standard reference object which was carefully stored in a vault in Paris and thus being disconnected from the meter and the density of water. Finally in 2019 kilogram was redefined again in terms of natural constants in the great SI unit upheaval. Although sadly the new definition is not very intuitive to understand.
Apple's first phone was released only just before the first EU regulation came into force. Presumably they were aware of the upcoming regulation.
Show HN: An independent and unbiased database for high-quality products
What is UX? Why is UX important to maintain an online presence? – Adlibweb
No, that was for loading IFF keys for Austrian fighters, a completely unrelated issue.

With F-35, the data packages necessary for operation in given theater are generated in one or two laboratories in USA, and so far there were no guarantees of anyone getting one of their own.

In addition, ALIS was dependant on Lockheed-maintained servers in USA by design, something that made it problematic even for US forces as the amounts of data that had to be transferred were too big for ship-based units - and you needed to sync at least once a month to ensure the aircraft is capable of flying.
Seems like you're just imagining how things might happen. Your example would be a clear violation of congressional rules regarding lobbying.
The hot bag thing is a pain and has so many different reasons. I've been caught out with it in the move from a 2012 rMBP to a 2019 16", where on the old one if I was connected to WiFi/tethered and I had SSH sessions open in Terminal they would just die when I put the laptop to sleep. On this new one it will keep Dark Waking the machine in my bag in order to prevent my SSH connection from closing.
Because the EU isn't there to pamper big corporations, it is there to strengthen the rights of consumers and citizens by strengthening competition. If your company can't survive without selling adapters or locking in customers with unnecessary differing standards (and therefor avoiding competition), maybe it isn't really healthy to begin with.

I would have a different perspective if there was really a practical reason for apple to go the different route — but there isn't.
What’s so special about thirds, sixths or twelfths?

10cm = 100mm; 100mm can easily be divided by 2, 4, 5, 8 (=12.5), 10, 20, 25, ...

That’s a nice thing about metric. If you don’t like the units you can multiply them
Fortunately there's usually a relationship between symptoms and how much virus is shed (and thus transmission rates).
So, Apple won't be implementing 5G?
Cost is a big factor the author underestimated in this big data era. Precalculated cube is not only faster but also times cheaper in the cloud, thanks to the reuse of precalculated result.

Dynamic query services in the cloud basically charge by processed data volume, like Google BigQuery and Amazon Redshift/Athena. For small and medium dataset, this works well. But for big data close to or above billions of rows, the cost will make you reconsider.

In the recent Apache Kylin Meetup in Berlin, OLX Group shared their comparison between OLAP cube and dynamic query in real case. Given 0.1 billion rows, cube technology (Apache Kylin and SSAS) prevails over MPP+Columnar (Redshift) easily. Especially Apache Kylin is 3.8x faster and 4.4x cheaper than Redshift for their business.
(https://www.slideshare.net/TylerWishnoff/apache-kylin-meetup...)

For me, a mix of precalculation (80%) and dynamic calculation (20%) should hit the sweet point between cost effectiveness and query flexibility.
What exactly "startup-friendly tax regime" does Singapore have and India doesn't?
While I love the product and use it in production, debugging is a royal pain in the ass.

There is zero logging to help understand when and how a connection is established (or not) server side.

Logging that someone tries to conne ct but wrong key, wrong protocol, whatever - that would help tremendously. Today it is tcpdump or wireshark all the way.
Your post was fine.
How do you loop in the rural areas?
Why Objective-Smalltalk is (not) a Smalltalk (2019)
My 1987 60% Apple Dremeled Keyboard: How and Why and Sorry
The fines are bad for Airbus but the individuals who committed the crimes don't have to pay anything, what's more, they probably have already cashed their bonuses.
So fines for only the company are not enough to prevent these lucrative crimes from happening again in the future.
Show HN: I made a site that helps you find LGBT+ Travel Rankings and Gay Laws
It's been said many times, _you can't change human nature_.

Seems like it's really "inhuman nature" that would need to stop.

In the wider world man's inhumanity to man has always been a prominent factor, and appears to have been on the increase in recent decades as the world grows.

There is also the possibility that this is a destructive reversal.

Regardless,
In online areas where polarization/toxicity has not been traditionally represented, mainstream influence would require the web negativity to increase at a faster rate than the mainstream in order to catch up and eventually equalize.

The more the rest of the world catches up with the web, the more the web catches up with the rest of the world.

The web just seems like it's getting worse faster than the rest of the world because it actually is.
This is not correct. Following example is valid in strict TypeScript:

interface Dog {
breed: string;
}
const dog = {} as Dog;
console.log(dog.breed);

Using `as` is very unsafe in TypeScript.

I've collected more quirks of `as` in this playground: https://www.typescriptlang.org/play/index.html#code/PTAEAMEs...
New ShmooCon talk on Apple privacy leak: Continuity Protocol RE and Dissector
Dynamo DB can be expected to adjust capacity every 5 minutes when set up with an auto scaling configuration or on pay-per-request model.

Lambda will scale up in seconds.

Dynamo, however, can be set not to (if you wish to stay within free tier limits). Dynamo DB free tier allows 5 4KB/key reads/second, with a buffer for about 5 minutes worth of "tokens" at this rate.

If poorly designed (e.g. using Dynamo like a relational database) you chew through this with app-side joins very quickly. Even if well designed, looking up related articles, or re-loading records on page transition will eat up DB time

As someone else mentioned, caching is critical for this setup to survive this load, especially if you want to stay in free tier... And CloudFront costs pennies compared to Dynamo and Lambda... Though both can easily be cheaper than $5/month
There are SaaS solutions for some parts that you mentioned. Examples:

- Auth0 for authentication

- Stripe for payments

- Billomat for billing

For other parts there are good open source frameworks, for example:

- Hasura for building an API on top of a Postgres data schema

- Frameworks like Flask, Rails or Django for building a backends

- Frameworks like React or Vue for building a frontend

- Static site generators like Hugo or Jekyll for building your website

- Hosting companies like DO or Linode and cloud providers like AWS or Microsoft Azure to host your services

There are also more tightly integrated solutions for specific niches like e-commerce (e.g. Shopify), if you build a SaaS solution you will probably have too many aspects that are unique about your idea to use such a highly standardized solution.
You’ve focused on the far 1% of the spectrum. What about the rest 99% of it?