skysight-inc/HackerNews huggingface dataset:
It was an upgrade from a legacy system to its successor. I never used the legacy system so I don't know what checks they did. I suspect little to none; I guess they pretty much exposed the raw 'tables' to the user to insert whatever they wanted.

I wrote 'tables' because it wasn't a relational DB although the successor system was.

The amount of data was pretty minimal too, not much more than a dozen GB, but it ate up at least 4 man-years to convert. I still cringe thinking about it. Some parts were an interesting challenge but mostly just soul destroying grind.
What you tweet can cost you
I use a Xiaomi Dafang camera with custom firmware. They run on my local network with no access to the WAN. I can view them by tunnelling to a Raspberry Pi and forwarding ports. It works well but I have no solution for recording, yet.
> non-results oriented

I think Clojure's ecosystem is more results-oriented than almost any other currently available[1]. It just requires a completely different mindset to understand, which an average software developer lacks. Therefore, Java is a much better fit for an Apache project.

[1] https://news.ycombinator.com/item?id=19728502
> If parts of the company is doing bad things, it doesn't make all of us sell outs in my opinion.

You’re either lying to yourself or you’re naive. Either way it’s not an excuse to dismiss agency.
Not only ecumenical, but more broadly applicable. The thing that strikes me about the three areas is that there are areas in life very much like each: there are some inevitabilities, there are some areas where proper appeal or preparation make for a more graceful outcome, and there's chaotic occurances/domains which you have to ride out or tame some portion of. Be ready for each, and if possible, know which is which.
DotnetSpider
That's an interesting interpretation, which I hadn't considered. How would you define social roles, economic aspect excluded? And where is the line between that and traits?
Direct link to image bypassing imgur’s awful interface: https://i.imgur.com/WJuhjlO_d.jpg?maxwidth=1640&shape=thumb&...
The theory given in the article seems plausible to me.
Probably low enough on both of them that you shouldn’t be worried about either.
This article is an anti-pattern.
Someone with more money than you can do a proprietary clean room reimplementation.
I wonder that as well, that is a very fascinating link, thank you!
To me, this makes total sense as the project moved to Apache. Obviously, much more people will be able to consider contributing when it's in Java. Apache goal is sustainability and long-term viability, and Java would work better for that.

I also consider this a success story for Clojure. It gives Clojure another usecase: a "production-ready prototype" language where the resulting "prototype" can last for eight years and benefit thousands of developers until it gets rewritten to something else when all the hard questions are answered, and most experimentation/wandering is over.
It will be interesting to see how prosecutors argue any anti trust case against Google. In American case law, the doctrine of consumer welfare being the objective of anti trust is pretty deeply enshrined in recent case law [1]. The philosophy essentially says that monopoly is not bad as long as consumers benefit and increasing competition through anti trust actions can increase consumer cost. This is very different from how anti trust works in most other places in the world - so they will have the difficult task to prove consumer harm

[1] https://en.m.wikipedia.org/wiki/The_Antitrust_Paradox
If word order is to be unchanged now, let's start doing that with the rest of the words, eh? Sentences can be translated word-for-word without regard for the sentence ordering conventions... or maybe this isn't such a good idea.
> That seems like a weird reason since the radiation counter argument was typically countered by pointing out the radiation from the flight itself likely exceeded the scan by a lot.

Doctors often advise pregnant women not to fly at certain stages of their pregnancy.

I can't imagine a doctor would advise pregnant women to enter these security theaters for literally no reason.
I use i3 for battery friendly-ness; it gives me many hours (sometimes double if only doing dev) more on my Ubuntu machine. Vim as IDE (bunch of extensions, like OmniSharp for .NET Core dev) and so on. I have different systems for testing and trying things on like a Macbook, Windows 10 machine with VS etc, but nothing is quite as productive as my Linux setup and that is mostly because of i3/vim. You have to practice the keyboard shortcuts, but that does not take a lot of time.

I give other environments a go once in a while but this wins so far.

One point to make; I do personally not like large and/or external screens. I like small laptops and I move around a lot during the day.
>Security warning for macOS users: The Cocoa webkit platform port has been dropped in 1.2.2 and it's currently not possible to build it without exposing Next to a remote-execution vulnerability. We recommend macOS users to wait for the next release which will feature a new platform port.

Anyone out there with a good idea of how serious a risk this is?

Edit - I mean, it sounds very serious, so I don't really want to run it on OSX. That said, I woudn't mind knowing if I am being overly careful here.
The main issue with that site, is that every time numbers are involved they are wrong, often by an order of magnitude... Here one wildly optimistic number is kWh/year on the 10kW turbine, but I suspect the energy cost of building a fiberglass/epoxy blade is wildly off too...
It's also that if a Lithium battery catches fire, it's not going to be stoppable by a common extinguisher. The only thing you can really do is put a shield around the fire, or drop a tungsten dome around it and pray it doesn't fly off.
Clojure just seems "too weird" to too many people, albeit for all the wrong reasons. Its syntax looks like a 6ft hurdle to newcomers, especially if they have lots of experience in C-synthax-languages.
But anyone who just /tries/ to jump it finds out the hurdle really isn't that high at all.

This dynamic will probably never change. Clojure will remain an acquired taste, which is fine, I guess. Those 'in the know' will happily continue to develop effectively with it.
You are right this is ML 101, but you are wrong. Someone else has linked the wiki page, and I've posted it elsewhere and I would strongly recommend you read it as your interpretation is very incorrect.

> In English, a false positive is when the machine declares something as positive but it is actually negative.

Yes, and the rate is based on the frequency this happens in your negative set.

>This fits a sanity test because ~50% of people that pass through a detector do not get patted down.

The 50% figure may be wrong, but my definition of what a false positive rate is not.
Oh I'm sure people make that argument all the time. I just don't think it holds up to reality. It's sort of just a dismissal of better options. The reality in my experience is that Java is just a poor choice for a lot of software. That's why you end up with frameworks built upon frameworks & AspectJ to basically make it behave like a dynamic language and try to hide some of the ugliness of the underlying APIs from you. And it's just because it's corporate approved and "everyone knows Java". I don't see how it can reasonably be considered the pragmatic choice. It's just not productive, and the final product isn't something that I would consider easy to understand or maintain most of the time either.
The only Kotlin feature that it's really hard to live without is properties. Otherwise sure, it's better than Java 11, but I can live without all those niceties. And (non)nullable types even get in my way!

I just don't understand where there's syntax sugar for propeties in Java. There are lot of unneeded stuff added, that I don't really care about. But my classes are still full of autogenerated getters/setters. I recently tried to find some JEP and I did not find one. There was some talk around Java 7, but nothing since that. Nobody even wants to add properties support for Java?
Most CS programs have a course on functional programming or programming paradigms including functional programming.

I don't understand why it would be a challenge to pick up Clojure.
Say I want one window to take up all vertical space on the left third of the screen and another to take up the other two thirds, is there a way to do this without me having to manually resize both windows?

I switch between i3 at home and windows at work and that’s one of the things I really miss

Another thing I miss is having a detached window permanently on top
violence is also the most basic form of communication
Kotlin's null safety alone is enough to prove you wrong here.
Cloudflare announces Workers free tier, workers.dev deployments, CLI
Except there is no need to do. They already biased for maturity and long term maintainability. I don't think Kotlin is bad per say, but it feels untterly unnecessary.
Oh no! Time to crash Tesla stock! Impeach drumpf! Batten down the hatches! Another twister!

So fed up with the news, everything has to be sensationalized, and shame on ycombinator for feeding into all of it.

But makes sense, a bunch of NY and CA liberal elites running the show.
none of the safety concerns will matter, if the bribes are big enough. Politicians will be exempt.
It is really no different than using the Windows/Meta key + arrow keys to snap the current window to a corner, or using Ctrl + Windows/Meta + arrow keys to switch to another virtual desktop.

Just a matter of getting used to. It doesn't even take too much to get used to it.
EV batteries will turn their power into the same fire when not treated correctly or damaged
Now I feel stupid for not thinking of this obvious solution, thanks!
As the article says, the fire department used a new approach which was to submerge the car in a pool of water and leave it over night. I'm surprised this didn't cause more issues (I guess the battery wasn't actually damaged or on fire before hand), but it's good to know it works. Still, it needs a lot more equipment than a regular car fire.
That may be more than just being an introvert, though. "Introverts" should take a look at the Attachment theory [1] for maybe, a bigger picture.

[1] https://en.wikipedia.org/wiki/Attachment_in_adults
simple metal-detecting gates
Not sure about some of this. If you can’t keep a good enough mental model of your book in your head, your readers might struggle to follow it.

I do recognise the issue of nearing the end of writing a book and being torn on whether to include new stuff. In the end you just have to draw the line somewhere. It’s less of an issue if you have an outlet for new stuff - blog, community, etc.
This is nonsense.

Is that not the very point being made?
Differential availability of materials makes a huge difference - the US has a lot of cheap wood, leading to lath-and-plaster construction, especially in milder climates. This can be found in traditional European construction ("half timbered"), but we used up the forests so many areas switched to stone or brick.

E.g. this Scottish vernacular cottage: https://pbs.twimg.com/media/Du2mYluV4AAipYU.jpg

The only piece of structural timber was the roof beam (now missing), which could be covered by branches and thatch.

I think "settlement persistence" makes a difference too, as new greenfield houses in the UK tend to be poor quality, but more central ones are more durable.
Another one:

If you are fine writing blog posts, but have trouble writing for a book because you think suddenly things need to be perfect (and run into writer's blog)...

Then start with blog posts. Ask your publishers if you can publish them. If not, write them as if you'd publish them on your blog.

Then take the blog posts, and turn them into chapters of your book.

A blog post tends to be a bit more self-contained than a book chapter, but even for a book chapter, people appreciate it if they can read it separately.

Other things:

* don't expect to get rich. Writing usually pays way less than programming.

* no many how many passes you have made, you'll always find spelling and grammar errors (even after a professional copy editor went over it). Try to get them fixed, but also accept it as a fact of life that things won't end.

* Making good illustrations takes quite some time.

* Expect illustrations to be printed black and white, with grays being butchered, unless you have negotiated otherwise your publisher.

* The publisher has a project manager for you. Keep them updated. They'll be more lenient with delays if you tell them early. Communicate as much as you'd do with a project manager at your job, even if they don't ask you every week or month (because they don't want to be pushy).

* Keep a list of contributors, where you add names and email addresses as soon as somebody helped you. After half a year, you would forget at least a few contributors. List people by name in a "Thank you" section. Everybody likes to read their own name in a book :-)

* Keep a list of people + email addresses who expressed interest in your project. The publisher likely will send out ebook copies to people, in the hope that they will review your book on amazon. Be prepared for that.
I don't know how it is elsewhere, but I saw many (most?) students struggle with those classes. These are people who have learned to successfully program, but they struggled quite significantly with functional languages (Haskell in this case). Even when they pass, many of them probably wouldn't want to pick up a functional language afterwards.
Traditionally, all Japanese buildings were made of wood, probably due to the abundance of materials (75% of the land is still forest even today). But wooden houses didn't last long because of its monsoon climate with a lot of rainfall (things get rotten). And then, there's an earthquake. People tend to think that materials are transient and fragile, and the modern housing system in Japan might have reflected this collective belief.
Some of the things you said are neither here nor there. You shouldn't just mention a random police shooting (note: unarmed != unjustified) or allegations of voter irresponsibility without describing how that supports your claims.
I would be super interested in more details on how that works. What do you actually pass to z3 to solve?
Bet they had to reimplement half of Clojure when rewriting storm core.
Arduino Nano Make Over – The New Arduino Nano Every
I too found the analogy interesting. I think the idea is whether or not to "outlaw" the water where the shark swims.
Ask HN: What books helped you to be better at confrontations?
I would like to learn more about confrontations related to family, friends or close colleagues. Not customer/user centered.
As someone that uses both languages, I can't help but think that the OpenJDK will (hopefully) start implementing much of the Kotlin paradigms. Perhaps at some point Java & Kotlin would not differ too much. Let's see what the 6-month release cycle brings. That remains to be seen.
The answer to why they wanted to “enhance” MCAS is that they wanted it to be certified as a 737 like all previous versions, which means pilots need to be able to fly it exactly like previous 737s without additional training, and a technical hack which “corrects” pilots' actions facilitates that.
This is the first question that comes into my mind.

However I had to scroll down pretty far to find it here. It doesn't look better over at reddit.

No wonder nobody cares about the public space surveillance overload anymore. How could you, if your house is being monitored audio and visually by some company?

This is really frightening.
I use KDE on a ThinkPad X220i, so around the same specs as your potato (with an SSD, though). It absolutely flies, no slowdowns or issues at all.
I assume it depends on what harm could be described as: Is harm of lost opportunity to a wider market, user data harvesting, incompatibility of websites due to monopolistic standards definition, Etc?

Does the harm have to be obvious and categorised as emotional/physical or similar?

The linked article there does not clarify the matter, to the point of the certainty of the position being vague at best.
If you work from home you decide how many cameras are in your workplace. Just sayin'
And looks like autocorrect struck again.

Last sentence should read s/preferred/prefiltered
Look up The Pragmatic Programmer and Clean Code - they're decent books and I'm sure other people on HN have even better recommendations.

Also, you don't necessarily need to cover something completely in order to get started. And these will be useful mostly if your work is in some way part of a software product instead of being some "offline" analysis, model build or forecast. Just learning to use version control, to collaborate with other developers and to run tests goes a long way.
Animated Knots: Learn how to tie knots with step-by-step animation
Idiomatic java is like idiomatic C: pretty fast. Most smaller languages prioritize other things. Clojure has immutability and Haskell has purity.

I have noticed this with every "X produces code faster than C": you begin with two programs that use a suboptimal algorithm, then you take your non-c language and try to write C in it. The result is always awful and removes most reasons not to use C in the first place.

This has somewhat changed with rust and in some sense C++,but for other languages my point still stands. They have a nice idiomatic golden path that is fast enough for most cases. Once you need performance badly enough you have to treat you language as an assembler, and then you will always lose to languages that actually are good at that.

I say this as a scheme/Haskell weenie. Writing really performance scheme and Haskell code often means writing ugly code.
What learnt in school is insufficient to meet with all real world challenges. To claim as a developer, you need to understand the internals, that is the ability to poke and trace to the root of the problem deep underneath.

Debugging in FP feels different to most people, where our thoughts is tuned to the procedural model with observing states and form our hypothesis from there.

Another disadvantage with niche programming language is not enough Stack Overflow help there. That alone will drive most people away.
But Scheme and Common Lisp (and its dialects) are drastically easier to learn than Haskell.

Furthermore, I think it also has to do with the order in which these courses are taught. When I did a small introduction to FP at my university, a lot of people who had no prior experience in programming picked up Haskell much more easily than those who already had a background in imperative/OO programming.

(Though that strengthens the point - FP is often quite a leap for programmers who have used imperative languages for a long time.)
If you generate ie. random 32 bytes attached to vote, nobody will infer anything from it, except you, who know it.
I definitely see some pendulum effect scattered through the field.

Maybe there's a sensory about system pressure (need for more bandwidth, or whatever) that when above a certain threshold trigger that swing change.
^ came here to post pretty much this; author seems to try to make a fairly good point, but the way it comes out is a bit strange and lacking foundation. It almost reads like the author had a bad experience online or in real life where he was told he used an anti-pattern where he actually wasn't and now extrapolates this. Don't know, just guessing here.

Sure there might be a group of not too well-informed/skilled people religously believing patterns must be used whenever even remotely possible and not using patterns is bad, mkay, but I think (hope?) the group considering them as just another tool in the toolbox, used when appropriate but not otherwise, is larger.
Certainly interesting to think about new forms of ownership, but there's some issues with this idea.

- You have to have Coase in there somehow. When is a new line of work a new entity? Seems to be something to do with internalizing costs, the friction of negotiating externally, and as part of that the difficulty of valuation.

- Say I'm a pro athlete. I hire a physio and a permanent PR rep to handle my social media. Now I'm in minority? Valuation has to come into it somewhere.

The problem fundamentally is how to pay people what they're worth, which in itself is a nebulous thing. Tying to some specific measure like time spent might be very wrong across different fields. The current "solution" which I'll grant is not entirely satisfying is that everyone just negotiates. If there's an amazing manager he talks everyone else into giving him a large slice of the pie. If there's a recent grad he gets a little bit, but gets his foot in the door.
You don't need to have any reason to opt-out from millimeter wave scanners. Just ask for a pat down. I do it all the time when traveling to the US, because I think these machines are useless, expensive and invasive. If enough people did this a simple, legal, act of civil disobedience would force the TSA to rethink the way they operate.
But aren't those monopolies mostly there because of the Government protectionism, not just market dominance?
From most articles I see on them, they provide poor value and service, but the government generally gives them a huge amount of leniency and support.
It’s not “cruel” to enforce the law, nor does it require mass incarceration because people react to incentives. I suspect Japanese culture may be another important factor, however.
Apart from the language part , i am super excited about trying storm-2.0. In many ways the buzz in the ecosystem has been that storm was dead!. We run lot of prod workloads on storm and spark , storm has worked like a wonderful workhorse without quirks. The ecosystem has moved on , but i think storm may still continue having loyalists!
This peaked my interest, me and a few friends have visited Tokyo several times over the years and will do so many times in the future, given that i wouldnt actually need anything spectacular would it be feasible to buy a cheap old house? if its only good for 5 years itd still save on hotels etc during that time. however im not even sure if youre allowed to own a house as a foreigner
Well, yes, but is there such nonsense to begin with? I.e. where does the original statement come form? Where is the canonical source claiming whatever is not a pattern, is an anti-pattern?
Don’t worry, given their tendency to stalk non-users through embedded Like buttons and their app analytics SDKs I’m sure they still have you in the form of a shadow profile.
I think there's a difference between gathering information that's necessary for the service at hand (giving your IP address to a server, or your current location to a cell phone network) and milking the user for all identifying information that can be gathered (asking for the user's gender to create a shop account, browser fingerprinting by scanning plugins and canvas hashing, etc).
If your antivirus or car alarm start flooding you with fake warnings you will ignore then more often than not. It’s human nature and you can’t really change it without some drastic measures like severe punishment or constant checks to keep people on their toes. And this last one just kicks the ball further up the ladder but still to a human with the same predisposition.
With Jodd you can have both
And (non)nullable types even get in my way!

Interesting how that goes...: the sibling comment to yours said the exact opposite. How does this feature get in your way?
Actually, the Belgian fire dept has done that multiple times already. At least once in the Antwerp harbor with a Volkswagen.
They where being followed by a tv crew at the time, so it’s well known to the public and we got some explanation as to the reasoning of why they’re doing it like this. (“Helden van hier” S04E08)
Correct null handling genuinely helps you write better, more correct, less bugged code.

It's not just syntax sugar.