jkeisling/hacker-news-corpus-2007-2022 huggingface dataset:
I think that it may be connected to halal restrictions. The ship was destined for Saudi Arabia, and the sheep would be slaughtered locally.
>Why submit to the will of some foreign court that’s totally outside the framework of your own country’s laws, constitution, and institutions?

They why be subject to U.N. and it's ICJ? Submitting only to institutions in which we have extraordinary influence or can veto out of unfavourable circumstances is not 'protection of sovereignty'; it's hypocrisy and disregard to delivering justice.
> In the 1970s, increasing incomes in urban areas stimulated the demand for meat and dairy products, but by the early 1980s government programs were only partially successful in increasing domestic production. Bedouin continued to raise a large number of sheep and goats. Payments for increased flocks, however, had not resulted in a proportionate increase of animals for slaughter. Some commercial feedlots for sheep and cattle had been established as well as a few modern ranches, but by the early 1980s, much of the meat consumed was imported. Although the meat supply was still largely imported in the early 1990s, domestic production of meat had grown by 33 percent between 1984 and 1990, from 101,000 tons to 134,000 tons. This increase, however, masked the dominant role of traditional farms in supplying meat. Although new projects accounted for some of the rapid growth during the 1980s, a sharp decline of roughly 74 percent in beef stock production by specialized projects during 1989 resulted in only a 15 percent fall in meat output. This reversal also highlighted the problems in introducing modern commercial livestock-rearing techniques to the Kingdom. [1]

Yes they don't have the capability to rear enough livestock so they have to import. Saudi Arabia existed before large scale imports like this, the problem is our (read: economically powerful countries) expectations are that we can get whatever we want whenever we want. When that happens tragedies like this occur.

[1] https://en.wikipedia.org/wiki/Agriculture_in_Saudi_Arabia
What is the point of pedantry? The base instinct?
There are certainly situations where that can work well, but there are also many instances where running two solutions in parallel is anything but trivial and adds another layer of complexity. Possibly to the point or multiplying the costs of the rewrite. I've been part of projects where that exact scenario occurred.
I think you mean de Bruijn sequence [0], can be hard to reach via search if you don't know the name.

> a de Bruijn sequence of order n on a size-k alphabet A is a cyclic sequence in which every possible length-n string on A occurs exactly once as a substring (i.e., as a contiguous subsequence). Such a sequence is denoted by B(k, n) and has length k^n, which is also the number of distinct substrings of length n on A; de Bruijn sequences are therefore optimally short.

That is, it reduces the total number of input symbols required to traverse all permutations from (k^n)*n to (k^n)+n-1. i.e each sequence attempt takes only one extra input symbol regardless of the code length (n) or alphabet (k).

Once I learned this (actually originally ended up figuring out for k=2 since google failed to reveal this page), I started to notice the critical difference between short 4 digit permutation keypads on doors: those that accept a continuous stream of input characters without a reset are vulnerable to this shortened brute force sequence; whereas those that require you delimit sequences with a separate key are not.

Specifically: a non-delimited 4 digit decimal keypad takes at most 10003 input chars to crack, whereas a delimited one with a reset button takes 50000 (~5 times more, n+1 for the reset button). I'm not sure if continuous form are merely cheaper or the delimited form are simply newer and lock makers a little wiser?

[edit]

I suppose in the worst case for the non-delimited 4 digit keypads, if you also figure out the subset of alphabet used (i.e UV light button trick), then it reduces to (n^n)+n-1 = 259 input symbols !! except it adds the requirement of generating the sequence dynamically... but that's hardly difficult for n=k=4... and if any buttons are used more than once it reduces k further! e.g if a button is used twice then (4^3)+4-1 = 67!

[0] https://en.wikipedia.org/wiki/De_Bruijn_sequence
I'm assuming because of the way an animal is sacrificed in order to be considered "halal". It would require a large slaughterhouse with the proper setup, which in an 98% orthodox country is not a easy arrangement.
Generally the journeys are much longer and in poorer conditions, with a lot less oversight.

Live shipping of sheep and beef out of Australia and New Zealand, especially to the Middle East, has been very controversial and banned on and off depending on the economy and political flavour of the month. It's a long, hot, hard journey, across the equator into the Middle East. There's no oversight on the ships, they get transported in horrible conditions, and the countries they're shipping the animals to don't have a great track record on animal cruelty.

Here's a case where 2,400 sheep died from heat stress on a voyage from Australia the Middle East: https://www.theguardian.com/australia-news/2019/jul/31/live-...

That's not an isolated incident either. It's endemic to live shipping. The whole reason they're doing it is because they want to maximise profits by shipping them live and slaughtering them in countries where it's cheaper, rather than using Australian abattoirs and shipping frozen carcasses or cuts.
This might give some clue: https://en.wikipedia.org/wiki/Dhabihah

"The slaughter itself must be done by a sane (mentally competent) adult Muslim."
As long as discussion stay focussed and commentors try to actually contribute valuable input I don't care about their profession/attitude.
This. The legislated application layer which must be present requires that the control module be addressed and specific data requested.

While you might have experience with a modern car that broadcasts some of the data interested by the dongle, this is not universal. Where this happens it may be on a different network segment than what you access physically on the OBD2 connector. There may or may not be a gateway between networks in the car, and it may or may not need to be activated, which is not part of the universal application mandated by CARB/EPA.

In addition the dongle may be interested in some information that may not be broadcast. For instance the instrument cluster should receive periodic updates about the current road speed. However it's less likely that something I'd be interested in if I were an actuary is broadcast: the throttle position!

While the universal CARB/EPA application cannot generally command control modules, this dongle has access to the PHY and could send packets that correspond the manufacturer-specific applications that could be dangerous while a motor vehicle is in operation.

With the UART based and PWM protocols that preceded CAN, there were some nuances with the manufacturer-specific protocols on those PHYs that did not line up with the CARB/EPA mandate, so the more generic gateways will not be able to construct these kinds of messages. Now, everything is plain CAN, there is nothing strange about it like "tickle the auxillary line with the destination address at 5 bps to wake up that module." Any CAN node will do.
I'm actually somewhat sad that they added the two in front of Scheme. I took an intro to CS course there the summer before heading to college and it was taught in Scheme. The teacher literally taught us the language the first day and then, from there on out, it was learning different techniques through mostly computer labs. Prior to that, my only programming experience had been in TI-Basic, so it was an eye-opening experience to realize that programming was more than just an ordered set of instructions. If I hadn't had that experience, I think I might have learned the wrong lesson when my college CS courses dumped C on me.

I'm not sure about Haskell as a beginner's language, but I consider Scheme to be almost ideal for that purpose since it's so easily digestible.
And we call ourselves "civilized"...
According to the article:

"That compares to an average wealth of $2.7m per adult for the elite 1%."

The site you linked has no info (that I could find) regarding where they source their stats, as well as no info regarding how they process the numbers so I'd be a bit wary about trusting their figures.

EDIT: That's not saying the numbers are wrong, if $2.7m is the average, then $770k could be the low end of the distribution.

EDIT 2: After entering some numbers into their form, they finally show you who they are, and where they get their numbers. I really wish they had a link on their homepage with that info...
Wonderful read!

Entertainingly, the author uses "condescending about ice balls" as a symbol of all things she hates about the testosterone-driven world. In the comments here: people arguing about ice-ball physics. Metaphor complete!
I had one of these after i finished college abroad for like 2 months until I got an actual phone - miss those days. Everyone _hated_ me whenever i brought it up. What fun. If only I didn't have to go on call so i could make this my permanent phone :)
Isn't the existence of experiemental error also something you can model as a probability?
Why wouldn't you say the examples I gave above don't compete with "your least favorite popular text based language"? My whole point is that not only do they compete, but they are actually winning in most use cases outside of software engineering. Once you take that assumption (which I'd love to hear someone debate), the question just becomes why do plain text programming languages win for some uses cases and not others?

The discussion of "general purpose" programming languages doesn't really make sense with respect to visual programming languages because visual programming languages necessarily exist within a GUI, and GUIs themselves don't scale to general purpose. So what we actually have is specialized visual programming languages that double as (or exist within) specialized GUI applications.

A system that appears to be working quite well in creating much more efficient systems for non-programmers to accomplish programmatic tasks. This kind of poor mapping of textual programming languages to certain problems is why the Stripe globe is state of the art text-based rendering (https://stripe.com/blog/globe), when people are doing algorithmic architecture in Houdini (https://mvsm.com/project/imac-pro). It's not even comparable, text-based languages are getting absolutely decimated outside of software engineering by better tools that leverage visual programming languages.
My wife is almost 100% consumer and I'm almost 100% producer. She latched on to me the second we met. She initiated. I was a poor and shy college student at the time so it was quite a shock for me to suddenly receive so much attention. It's like she knew something about me that nobody else knew, not even myself. It's like she could see through everything and see the pure productive potential.
This, a hundred times. YouTube kids has content addiction to a science. My kid still asks for YouTube at age 6. It’s been banned from our house since he was 3.
Even if there were a PIN code to power off regularly, you could always force cut the power (like pressing power for 10s on a computer). I think this has to be possible by law for emergencies.
I've just finished putting together some old machines and setting up my home cluster with k8s, and ported first app on it. Okish way to spend some of my Easter holiday.

https://github.com/bausano/cluster/blob/master/changelog.md#...
Everyone on here seems to be blowing the trumpet for PBS Kids. Is it really that good? I haven't checked it.
You couldn't be more wrong: https://www.google.com/amp/s/www.euronews.com/amp/2021/01/22...

If you build the right infrastructure, people will ride it.
just signed up , username : Kagerjay
I think that you've misunderstood me.

Generally, the "I'm a patriot" line is utilized by the left/liberal - who is usually the more rights, humanitarian, privacy, social healthcare minded of our two parties.. It's used to preemptively dismantle a favored attack employed by "the right" - who are our conservatives, which favor fewer social services, lower taxes, security being valued over liberty/freedoms (generally, they supported the Patriot Act and similar such things)...

Consider this contrived example, as it clearly isn't evident from my previous anecdote...

Liberal: "It's our duty to ensure we don't do damage to human rights for a little temporary security via overreaching surveillance programs..."

Conservative: "You're a freaking liberal nutjob who would bring harm to America! YOU LOSE!"

Then...

Liberal: "I am a patriot and love 'Merica, but I feel that it's our duty to ensure we don't do damage to human rights for a little temporary security via overreaching surveillance programs..."

Conservative: "Ah. Well.. 'A patriot', you say? I can't argue with that.. [more 'civil' discussion may ensue]"

This has just been my experience.. The general 'caricatures' of our two main political mindsets could be summarized as:
Conservative - Religion over Education, Christian Government, Guns, Moral Laws, Military, Exclusionary ("If you don't like it, you can get the hell out of MY country!")
Liberal - Education over Religion, Separation of Church and state, More Restrictive Gun Laws, Support of Social Services (healthcare), Higher Taxes, Diplomacy over Military Aggression, Inclusionary ("While I may not see eye to eye with you, there is room here for us all... That's what makes America great - we don't have to be of the same faith or belief, yet we can both call this home...")

Again, these are the far ends of the spectrum.. These are stereotypes.. These are broad generalizations made for the purpose of demonstration - I don't mean to offend anyone who identifies with either side.

One final bit, using your rebuttal:

Person 1: "No. Really, I have absolutely no loyalty to America or any other country for that matter. I'm loyal to humanity, and you should be too."

Person 2: [Whips out knife and waves at you aggressively] "You're a communist puppy hating hippy! You lose! Get out of my country!"
"retire"
Just because some random individual came up with some arbitratry agenda of whom should finance what, doesn't mean that it makes sense.

There are so many better (and worse) things to finance than Python Foundation.
I find this very true, and at the same time missing a crucial aspect: the democratization of access to information has forced stories to be more dumbed down to win.

Comparing "The origin of species" with "Sapiens" probably means the author only read the later. Darwin's writing is not just good storytelling because of the quality of the prose. It's convincing because it conveys how he thought about the implications of evolution more deeply than anyone before him. Nobody had spent more time on finches and barnacles than Darwin! Reading "The origin of species" requires a patient and thoughtful audience.

Best story still wins, but the definition of what this is has changed over time, just like how engineering best practices are putting less and less trust in the developer to implement his own solution -- a huge growth in audience almost always means a lower level of effort you can expect from the average audience member.
Because it has a shitton of issues. The implementations aren't great, cryptographic issues, memory safety issues, stable API/ABI issues. It's still not supported well by software that could use these features.
because im vacuuming the db, flushing the cache, rotating the logs, retrieving the stats, rebooting the server, teaching you to change the background in the chat, commenting on the tickets, adding to the docs, onboarding the noobs, upgrading the libraries, adding ips to the firewall, updating the ssl cert, installing, compiling, backing-up, migrating, doing my timesheets, ive got 3 'training modules' i haven't completed yet, 5 invites to a PMs weekly catchup I cant make, I've been asked to review the spec on some other project, still need to setup the VPN access, get passwords for the VNC, need to email support to put my keys on the new server so i can jump host as working remotely, editing crons, editing configs, security updates, replying to client emails... oh and that line of code i wrote this week. sadly I had to write that as there was no other solution. I mean I googled like fuck for ages but this is the only way.
This week, a series of events at the intersection of the workplace and AI lent support to the argument that techno-utopianism has no place in the modern world
Been through this and in retrospect this was a blessing in disguise.

Instead of sitting down and writing a draft code version, then reworking it, then reworking it again, then realizing there's a better way to do/structure the same, discarding it and making a clean version I was forced (by the baby-centric lifestyle) to think it all through in the head first. I would then sit down and emit the final version on the first try. The best part is that it also took noticeably less time than the iterative "hands-on" approach.
Aren't those people middle class by definition? What you describe here is not poor at all.
Sorry to be pedantic, but I think half the buzzwords in the title are quite unnecessary.
I get the feeling that you're both right and wrong. Right in that a lot of the legacy Amazon code is probably burdened with huge technical debt. I also get the feeling they're pushing the boundaries in other areas. A bit of the "chase the shiny coin" syndrome.

One of the issues is that none of us really know what goes on inside Amazon. They are notoriously secretive about most everything.
Good article, the only place I disagree is with this:

> * For example, Rails could default to mass assignment being available in development environments, but disabled in production environments (which are, typically, the ones that are accessible by malicious users).*

That is a really bad idea. All it would do is create broken code in production that could not be debugged in development mode.
The article has a good point, but really it's just another example of the "Innovator's Dilemma" (http://en.wikipedia.org/wiki/Disruptive_technology).

Simply put, the leader in a given market is the least likely to benefit from disruptive technologies so they rarely innovate or take advantage of them.
http://www.youtube.com/watch?v=azRzqI3BJ2A&playnext=1...
"clothing optional" you mean... ;-)
It looks like what you are getting at is that the design is important. I don't think your original design is a bad starting point, much better than any designs I've come up with for my projects.

It'd be nice if you got into the details of integrating a themeforest theme with an existing code base. A reason I've avoided buying a theme, don't know what I'd do with it once I had it.
Agreed- even defining the notebook as a moleskine suggests a certain type of content. More so, it's a seemingly generalized trademark (like Kleenex or Xerox).

Why not call it a moleskine?
Fun fact: the AS/400 virtual instruction set uses 128-bit pointers (that get truncated when executing on a real machine). It's not excessive considering that the AS/400 is not only a flat-memory architecture, but a single-level store.

I think storage will eventually move to the Venti model of hash addressing. It just makes much more sense on a network and with current archive-everything practices (there are some really big wins to be gained from compression and dedup there). BitTorrent is doing this already.
I have zero affiliation with the group, apart from being a casual user but http://wasitup.com/ has come in handy for me quite often. Even for free, it'll do a check 20 times an hour.
A lot of basic algorithms and data structures knowledge was assumed for the Bioinformatics courses I took, so I learned the vocabulary as I went along. Also, I've been through the online lecture notes for the basic algorithms/data structures course at my university, and am confident that I have a good grasp on the subject matter.

Thanks for the advice - I wasn't aware there was a free practice test. I'll definitely check that out.
They were doing some sort of web design I think, so.... I don't see why not?
"legendarily awesome centralized version control system"

I thought it was just perforce.
271s, iirc. Lost them a couple of months ago, sadly.
I assume you read http://research.microsoft.com/en-us/um/people/cloop/loopblin... ?
And the discussion of that video: https://news.ycombinator.com/item?id=7655281
Where do you think the money for VC funds historically came from? It's probably less Wall Street these days now that there is so much home-grown cash (Google Ventures being an example).
Hey, no problem. FM synthesis is one of my greater interests! With modulating the phase offset I mean that instead of doing

carrier = sin((f + modulator) * pi)

(a typical way of modulating the frequency) you can do

carrier = sin(f * pi + modulator)

The modulator could be scaled by something from 0 to 2 pi but experiment with what sounds best.

The reason for doing this to begin with is probably that simply adding an offset in a sin table readout is probably a more effective design than adding the offset to the phase accumulator, especially if you want a consistent timbre without scaling the modulator amplitude along with the carrier frequency, and don't want to deal with negative frequencies.

Another nice thing you get for free with phase modulation is that you can do stable feedback modulation. In essence, you use the last calculated sample value for an operator (envelope * oscillator) as a modulation source in itself. In code, something like

float generate_sample() {
sample = envelope * sin(f * pi + old_sample * feedback_level);
old_sample = sample;
}

It's very effective for brass sounds or harsher sounds like trying to model distorted guitars
Is there a version of GPT-3 that is available for use by the general public right now? I haven't seen anything outside of OpenAPI's private beta.
My 2015 Mac (running Big Sur) did that temporary-partition dance too.
I use https://gohugo.io because I like writing content in markdown with vim
No, this is exactly the incorrect definition of the problem that vendors talking about.

Crashing a single users thread on a web service is the definition of useless, its not annoying anyone but the attackers session.
> Scarlet letter, 1984, The Crucible, etc. seems like all these things are converging at once.

You are just spreading FUD. If our reality matches any work of fiction it is Idiocracy.

You, and many others, continue to put politics ahead of common sense.

If everyone stayed home COVID would go away. I challenge you to dispute this.
> - tagging: this makes grouping and searching for documents much easier

Does tagging syntax target some form of static site generator? It would be cool if was configurable for Hugo, Jekyll and others.
I’ve been on this site since 2009. Unfortunately the level of discourse has been in pretty steady decline over the last few years. Knee jerk responses and mindless downvoting are the norm here now.

For a site that’s ostensibly catering to engineers it’s a sad state of affairs. I can’t say I get much value out of it anymore.
> The difference is that what the doctors put so much time into learning can actually be quite useful for their job.

I'd be curious to hear what a doctor would think about that. My intuition would be that, as for almost any exam, a lot of time is spent on things that will not be useful for any other purpose than the exam itself.
Probably revising to remember it without needing to look it up ;) I can't be bothered to remember specific details like algos, I normally look them up.