skysight-inc/HackerNews huggingface dataset:
Yep, this talks about EDK1-based development. These days, you can also build Tiano Core EDK2 on Unix-like systems with GCC, and target Arm and AArch64. Like the EDK, there is still an Nt32 simulation target. Unlike EDK, EDK2 has real buildable firmware for Qemu, KVM and XEN and a simulation envo for Linux and OSX.

Probably should avoid developing under the old EDK, as the libraries and build system jave somewhat changed (yes, there is a compat package for mastodonts, but, just don't).
My city “solved” the bus traffic issue by reducing bus coverage during rush hour. No wonder no one finds the bus in my area convenient.
Arrogance is what gets you started, humility is what takes you to completion.
I installed extra lighting temporarily in the corner of my garage/shop. By using a zwave outlet controller, zwave light switch, and Home assistant, in about 10 minutes I could turn those lights on or off with the main lights without having to rewire my garage. When I’m done with my project I can simply take the lights down or move them around the garage without changing any wiring. It’s simple and convenient.
They are artificially manipulating the market. That's about as textbook rigging as putting three masts on a ship.
go's "defer" is like java/net "finally" for a try/catch enclosing the entire function.

pro: you can push more than one "defer" in the same function.

con: "finally" puts the cleanup code at the end of the function. With "defer" you have it scattered at the beginning.
I don't get why people are all excited about pushing buttons on a machine to write. Is it so hard to carve stuff into a stone tablet? Help me out here.

(Seriously, I use a nanoleaf aurora to make a nice sunrise to wake up to, and it also acts as a clock and part of it lights up red if any of my servers are down. I'm pretty excited about open HA.)
Are there any plans to improve the integration with openzwave?

Currently, there is not much feedback available to the API when adding/removing nodes except for viewing the openzwave log files and comparing state lists before and after.

Also, are there any plans to provide hot reloading of config files, instead of having to reset hass? Large zwave networks can take 10mins+ stabilise after a reset.
Are several of those extended buses really more expensive than light rail? There's a lot of upfront cost for light rail and if demand changes, routes are pretty inflexible.
We're getting there. Slowly. The 545, the route he mentioned, is the downtown-Seattle-to-Microsoft bus, next in line to be replaced with light rail.
I don't want to take away from the good things that Seattle has done with transit, but it's worth pointing out that Seattle is far and away the fastest growing city in the US, with an astonishing 3.1% (21,000 people) between 2015-2016.

If ridership increased by 4.1% between 2015-2016, then population growth alone may account for a significant chunk of that.

https://www.seattle.gov/opcd/population-and-demographics

https://www.seattletimes.com/seattle-news/data/seattle-once-...
How to disable Code Splitting in webpack
They're tested by the same psychos that created the drugs and their bought fan club, otherwise things like Oxy would never have made it to market. It's worth repeating, big pharma is all about creating return customers; nothing that comes out of that mess is ever going to solve problems.
I don't see why we cannot have completely distributed betting platform using para-mutual betting strategy that collects and distributes bets and winnings on the basis of publicly reported sports results with no take-out.

I prefer para-mutual rather than a house deciding the odds. It is a more free-market approach. It has been used in horse racing, but the takeout has been too large which makes it hard to be profitable.
They're not a "winning player" in the usual sense. The casino wants players to bet on a certain outcome in some cases (in order to reduce risk, presumably) and therefore hands over the winning strategy on a silver platter.

I feel like the casinos just want those kinds of bets to be small. They don't want to over-correct in the other direction. By limiting these players that specifically make these kinds of bets, they reduce the risk of a big amount of money being bet in a short amount of time on the "winning" strategy.
Yes, for perfect mirror surfaces. The scene isn't very physically realistic, but the reflections are doing the right thing given the scene. The floor is strongly curved in the reflections. The reflection of the horizon line isn't, only because the camera is near the floor and looking almost level. If the camera were up higher looking down, the horizon reflection would be more strongly curved.
They hate “sharps”, winners who win through skill exploiting lines, they love those who win by chance. Sharps will continue to bleed them, the lucky fish often become whales whose luck fades over time.
As I have stated before, I feel like if you have a pro-social mission to further human civilization the first step is "don't enmiserate large numbers of humans by getting them addicted to opioids." Maybe that's just me, though.
9.7M-year-old teeth discovery in Germany could re-write human history
That's a very long route for a bus to serve. Light rail makes the most sense there. What is the ETA on the eastside expansion though?
Mass transit will always be cheaper than individual transport, and we often can't even get taxpayers to fund that. I love the idea of efficient, on-demand, self-driving vehicles, but a world where everyone has access to them is an impossible utopia for the foreseeable future.
Yes, certainly consider life insurance. You may not need it though. I would certainly include that with "plan for your death," which was my advice. If you assets and no dependants you don't need life insurance If nobody would be adversely affected financially if you die then you don't need life insurance.

The bigger issue is being free of making very important decisions during a time of grief.

A problem is the death industry can use your grief to upsell you and overcharge you, sometimes even breaking the law.

http://abcnews.go.com/GMA/story?id=125628&page=1

It's also not particularly normal to live with your parents when they are elderly in the US. It happens, but it's not really all that common.
Is the strain relief not good enough, or is it not present? Isn't that strain relief below the MagSafe connector shown here?

https://imgur.com/ZCt8R5g
I wonder what virus survives cooking? (I hope the Australian government is not introducing prions ...)
Every bus needs a driver and a vehicle with yet another powertrain. I'm not sure what energy consumption is like on a train but I suspect operating costs of all the buses is higher than a train that can cover longer distances. It seems to me a mix is the best solution.
Agreed, I just wish the light rail expansions weren't going to take 20 years. We need those lines yesterday.
Does any US city have private run in-city public transport?
2023: https://www.soundtransit.org/eastlink
Yes, of course you can beat the "popular" bookmakers.

Once you start beating them ( being profitable in value prices ) they will simply close/ban your account. Nowadays, it happens extremely fast ( in a day or a few hours, depending on your moves ).
It's a well known tactic, and in practice, you cannot do anything about it ( other than keep opening new accounts in new names ).

Try beating a betting exchange.
>So far I really don't have a good answer for how to reduce consumption without reducing pleasure

Salt.
Young subscribers flock to old media
Agile principles generalize to all software development. The specific application of those principles at one company won’t.

That’s the core difference people miss.

Of course then there is the difference between “software development” and “one individual programmer”. Not all programmers will gel with Agile stuff as well as the next one. That’s why it’s not supposed to be rigid (it often is when done poorly).

But yes, an understanding of the principles is required to translate them into practices for a team. Rigid adherence to Scrum or XP is missing the point.

For a good look at a way one company took the principles of Agile and applied them in a very effective but utterly idiosyncratic way... look at Spotify.

Pt 1: https://labs.spotify.com/2014/03/27/spotify-engineering-cult...

Pt 2: https://labs.spotify.com/2014/09/20/spotify-engineering-cult...
Even in hardware, formal verification is only used for really small designs (like FIFOs, for example) and for very specific and simplistic designs (control logic or datapaths).

For everything else, people use the good old functional verification because more the state complexity of more complex designs simply explodes.
A car that's kept indoors and never driven can last for decades, but that doesn't mean it's an exceptionally well-made car.
We are on Discord which has a better experience for our users https://discord.gg/c5DvZ4e
I think it depends a lot on your product how effective this will be. I did a lot of this while EnvKey[1] was in beta, setting up in person interviews/meetings via my network, and while I did learn a lot from it, it didn't lead to getting many users. This was primarily an issue of timing: EnvKey is a tool for managing configuration and secrets, so the most natural time to adopt it is when you're starting a new project. It has an import feature, but convincing someone to import an existing project is just a much higher bar than convincing them to try it on something new.

The problem is: what percentage of companies happen to be starting a new project now or even in the next few weeks? There are plenty of them out there, but the odds of getting someone at the right moment when reaching out one by one in meatspace are too low to make it work. In this situation, I've found that a hybrid approach works better: use organic marketing, meetups, and conferences to cast a net that is sufficiently wide that at least some of the people that see it and like the concept are in a position to adopt it right away, then keep in touch to find out how it's going and what the blockers are. This has been effective for getting our first batch of happy production users.

1 - https://www.envkey.com
This about sums it up:
"A far more parsimonious hypothesis is that the same thing that makes our fat cells fat makes us fat: ‘high blood glucose’ and concomitant elevated levels of insulin and the insulin resistance itself, both caused by the carbohydrate content of our diets. Insulin is secreted in response to rising blood sugar, and rising blood sugar is a response to a carbohydrate-rich meal. Sugar is implicated, in particular, because its chemical structure includes a large proportion of the carbohydrate fructose, and fructose is preferentially metabolised in the liver. As such, it is a prime suspect for the fat accumulation in liver cells that is hypothesised to be the trigger of insulin resistance itself."
Μονομαχία Ολυμπιακού ΠΑΟΚ στο Καραϊσκάκη
I spend about 23.5 hours a day sitting or lying down and I eat poorly. I will likely die of malnutrition or stroke by the time I'm 35.
Space efficient in what way? Parking. I don't think this is a limiting problem. It is the gridlock on the roads. Tunnels can be put underground with a large number of levels if need be. People don't really like the space efficiency of standing packed right next to each other for an hour.

With an automatic system of vehicles you can build a tunnel/track and can put into the system any size vehicle you want. One passenger, two, three, ten, twenty, one hundred. What is the difference between a car, or a bus, or train anyway in this system? Without a driver needed you can have vehicles of any capacity.
If You Drive Less Than 10,000 Miles a Year, You Probably Shouldn't Own a Car
Contributions to improve Open Z-Wave integration are always welcome :)

We already allow reloading the most important pieces of configuration: groups, scripts and automation.
"Retail" bookmakers are only interested in mugs. If your betting patterns indicate someone who is wise to the market, you will be limited or shown the door. Be prepared to have arbitrage positions pulled out from under you. The game is rigged insofar as the book decides if it wants to entertain your position.

If you want to make money you have to bet against, and be able to beat the books that know what they are doing - The high limit, low margin books like Pinnacle, SBO, IBC et al will happily take you on.
“Embodiment” is most important for 2, and to fool humans into thinking you are a real human (as in the Turing test), able to talk about the human experience and relate to other humans.

Animals (including humans) are born with a version of 3 (and 4). Emotions are simple. Thought-level nuance is learned over time, but data learned by one android (or whatever) can be shared. Also, children are able to learn from comparatively few data points, and computers are beginning to do this too (see “one-shot” learning, learning from one occurrence, like the way kids sometimes pick things up).

If you make a child android that looks and acts like a child, people will read to it and play with it; there are movies about this! :)
a win for me is I learned about the nilometer. following up on it on wikipedia: https://en.wikipedia.org/wiki/Nilometer
Roxy is building 'Alexa for the Enterprise'
con: "finally" puts the cleanup code at the end of the function. With "defer" you have it scattered at the beginning.

Quite commonly an advantage, e.g.:

f, err := openFile('...')
if err != nil {
...
}
defer f.Close()

is how it's commonly used. This makes sense because the cleanup lives next to the initialization of the actual thing it's cleaning up. In a way it becomes part of the initialization, itself.

Same with locks and release. Now you don't have to scan across the entire function body to make sure your inits and cleanups match up.
> A few weeks after we started trading with actual money some bookmakers began to severely limit our accounts, forcing us to stop our betting strategy.

Isn't this like literally one of the oldest tricks in the book? I remember reading Reminiscences of a Stock Operator, which talks in part about early 1900's bucket shops, and the same stuff was there even then. Similar stuff is also mentioned in market microstructure textbooks with market makers on one side and informed traders on the other side.

Is rigged even the right word here? It might be, but did the bookmakers have a responsibility to keep accepting their bets? Is it different from claiming that casinos are rigged?
I am puzzled again by standards of American law making.

Why telecoms have rights to mount 4g equipment on public property, but not 5g (which is not even a standard yet?)
There's an old idea that might work: Get a lot of business cards; always carry a stack; spread them around, e.g., in any retail location, leave a few here and there, maybe on the counter top near a cash register, maybe just drop some on the floor,
maybe at a sporting event, concert, political meeting, any meeting with a lot of people, get high up and give a big side arm throw and let them flutter down. Sure, then quickly duck, hide, and get away before get accused of littering!

Or, gee, for the $300, hire some kids. Each kid gets a stack that has a promo code unique to them, and on your Web site landing page ask for the promo code and, thus, find out which kids are doing the best work! Sure, use different promo codes for your own efforts at such advertising -- basketball, football, politics, rock concerts. Uh, don't necessarily have to pay big bucks for NBA or NFL tickets; how about a college or high school sporting event?

All or nearly all of the above are from a book or article I read long ago about a guy who was trying to sell cars. He was just a salesman at a dealership run by someone else, but he wanted people to come to the dealership to see him by name, in person, as the guy with uniquely good car deals, etc. With those business cards and more such outrageous stuff, he claimed he got a lot of traffic and sold a lot of cars.

For the business cards, sure, cheat some on just what the heck such a card is and, thus, make them also have enough information, if only a tease, to get people to get to a Web landing page or some such. So, they look like business cards but, of course, are really hand bill advertising. Maybe such hand bills are illegal but just accidentally losing a stack of business cards is not?

There are many more possible gutsy, outrageous, non-standard, maybe crude, vulgar, socially awkward, embarrassing, borderline legal, original, creative, never seen before, etc. marketing approaches.

One description of such stuff is guerilla marketing.
I have to say - I kind of want to work at Pivotal for a few weeks just to learn how you guys do it.

Seems very very dialed in. Would be a great learning experience.
I'm familiar with the concept of broadcasting in Numpy, but I don't understand what it means in this context. Can someone explain?
My step-father has this weird obsession with keeping a perfectly flat green lawn as a front yard. Any time an ant-hill springs up it's out with the pesticide. Any weeds that pop up are immediately exterminated. It's this sort of stupidity on a global scale that's causing the problem. For a lot of middle-class America, a sterile grass mono-culture is the ideal for a front yard, environmental health be damned.
My question is what are they really good for.

I mean king = queen -woman + man

That's the kind of thing we have ontologies for.

This article mentions that word embeddings are useful inside translators, but from the viewpoint of somebody who wants to extract meaning from text, what use is something that doesn't handle polysemy and phrases?
You allow reloading, but that is not the same as hot reloading. Love your work btw.
"Some critics also reportedly expressed concerns about radiation emitted by thousands of small antennas." When is this going to stop? It feels like we're going backwards in terms of people understanding science.
Tunnel engineering reality check for California high speed rail
> nuclio runs faster than bare-metal code

So I'm staring at the high-level architecture [1], and I don't see how this claim can be true. Is this claim explained somewhere?

[1] https://github.com/nuclio/nuclio#nuclio-high-level-architect...
i don't think so, but it might have been Harvey Mudd. Olin I know well from recruiting there.
The best solution to this problem seems to be Python's "with".

with open(oldfile, 'r', encoding='utf-8') as infile:
with open(newfile, 'w') as outfile:
....

The implied close will be executed on exiting the "with". "with" calls .__enter__ on the "open" object at entrance, and .__exit__ at exit. This works even if exit is via return or an exception.

If the implied close generates an exception, everything still works reasonably. __exit__ has a "traceback" parameter, which indicates an exception is in progress. An exit operation should do its closeout, then re-raise the exception sent as the traceback, if any. This works even when a destructor raises an exception. (A typical case is closing a network connection. If the other end dies, close will generate an error, which should not be lost.) The default use of "with" in Python thus comes with correct single and nested error handling.

That's not true of RAII or Go's "defer". In C++'s destructors, you can't return an error code, and an exception in a destructor is usually a big problem.

It's hard, but not impossible, for a deferred call in Go to report an error.
The deferred function can muck with the parameters of the function which called it. This only works
if the deferred function was written specifically for the context in which it was called; just deferring a "close" won't do this. So you don't get proper error handling by default.

(Languages seem to need exceptions. Both Go and Rust started with an always-aborts panic mechanism. That was too drastic in practice, and in both languages, panicking was made recoverable and provided with unwinding machinery. So both languages now have the heavy machinery for exceptions, without the language support for them. This results in kludges to simulate exceptions.)
> con: "finally" puts the cleanup code at the end of the function. With "defer" you have it scattered at the beginning.

I would consider this a 'pro' as each action and defer are paired, executes in reverse order and a conditional action/defer doesn't need a second matching check.
Features != Success, is such an important truth, I wish every new founder could somehow be made to understand it.

Build one simple feature that people are willing to pay for and start marketing and selling it is by far the path of least resistance.

(Then carefully grow your product outward from that point)
I was just eating a lot less food overall because it was less pleasant. So it probably was a reduction in carbs.

It literally says in the text that he ate less overall.
The rise and fall of the Lyons' Cornerhouses and their Nippy waitresses
Is going vegan actually helping battle climate change?
The ScopeGuard RAII destructor will be called at the end of the scope, but Go's defer will be called at the end of the function.

e.g. in Go can you can defer inside a for loop.
> You can operate most controls without a need of looking away from the road. Today, we are ditching this proven design in favor of a single touch screen, because it looks so much more elegant and modern.

I really don't get this. It's like everyone just forgot that when you're driving a car, you need to be looking through the windshield.
We can help you if you provide more details. We can chat offline.
Every local newspaper comments thread is basically like this. It's 4chan for old people.
Can you have them turn on 30 mins before sunset?
ST 510 (Seattle - MLT - Everett, to reach Premera in MLT) was routinely 30+ minutes late, because buses would get stuck in traffic each way. So the common "2 buses at once" would occur. Or sometimes the 1st would be over-stuffed and the 2nd would be 5 minutes behind and almost empty.

MT 550 running 6 buses an hour felt the same in 2016 - packed in like a mosh pit during rush hour. That's when I gave in and bought a truck, and dealt with parking 6 blocks away instead of hiking 9 blocks down Cherry (and past the perpetual tent city) to the tunnel.
Cron job on my home server starts sending commands over zwave at 6am for about half an hour to slowly increase the brightness of my master bedroom light from 0% to 100% at 1% increments. So when I get up, it's not pitch black, and I don't go from zero to blinding light in one moment. Probably my favourite thing I've done with home automation so far.
Have you thought about putting the code (or a similar one) in the article to try and make up the difference? Nothing like content marketing to turn a failure into a win!
ScopeGuards as imagined here (Facebook's folly library has one) are near-essential for writing reasonable systems code in C++.

int fd = socket(...);
if (fd < 0) return false;
SCOPE_EXIT { ::close(fd); };

if (ioctl(fd, ...) != 0) return false;
if (ioctl(fd, ...) != 0) return false;
...

return true;

You could totally just write the FdWrapper class, but then you're still a user handling resource cleanup, but with more lines.
If you consistently lose money whenever you transact with someone then you're going to stop doing business with or try to limit how much you lose. They're not rigging the actual game in any way. But if they're not throttling you it's a pretty good indication that you're not coming out ahead.

If there was an obscure way to play craps that made the house advantage negative they would either change the rules or ban the practice. You could call it rigging but by that token every game is rigged, that's the whole point, you're playing in the hope of beating the odds. The rules and odds are completely transparent, 'rigging' would be like using weighted dice.
For the same reason that people claim to have wifi allergies probably.

More probably and less cynically, 5g is a different wavelength and therefore the transceiver requires FCC assessment and approval.